Warning: Permanently added '35.168.23.234' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/10886294-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.9 PID: 15403 Logging PID: 15405 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 10886294, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '43a1cb2d4c98616dc646121bddb4ea24c05cf95a', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/music/aiohttp/python-elasticsearch', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-elasticsearch', 'package_version': '9.4.1-2', 'project_dirname': 'aiohttp', 'project_name': 'aiohttp', 'project_owner': 'music', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/music/aiohttp/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None, 'repo_gpgcheck': False}], 'sandbox': 'music/aiohttp--music', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'music', 'tags': [], 'task_id': '10886294-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/music/aiohttp/python-elasticsearch /var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/music/aiohttp/python-elasticsearch', '/var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch'... Running: git checkout 43a1cb2d4c98616dc646121bddb4ea24c05cf95a -- cmd: ['git', 'checkout', '43a1cb2d4c98616dc646121bddb4ea24c05cf95a', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch rc: 0 stdout: stderr: Note: switching to '43a1cb2d4c98616dc646121bddb4ea24c05cf95a'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 43a1cb2 automatic import of python-elasticsearch Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading elasticsearch-py-9.4.1.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o elasticsearch-py-9.4.1.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/music/aiohttp/python-elasticsearch/elasticsearch-py-9.4.1.tar.gz/md5/7f7edec3f9dbfab7a4f387e2c9d460ef/elasticsearch-py-9.4.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2.43M 100 2.43M 0 0 150.8M 0 0 INFO: Reading stdout from command: md5sum elasticsearch-py-9.4.1.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch/python-elasticsearch.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1787260494.865673 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.8 starting (python version = 3.14.5, NVR = mock-6.8-1.fc44), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch/python-elasticsearch.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1787260494.865673 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch/python-elasticsearch.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.8 INFO: Mock Version: 6.8 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1787260494.865673/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-4726a9de-1485-47c5-b140-03bf7d7a48dd INFO: Checking that 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d image matches host's architecture INFO: Copy content of container 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1787260494.865673/root INFO: mounting 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d with podman image mount INFO: image 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d as /var/lib/containers/storage/overlay/9b24b81454fbf86ae1f477ba8527d962860c9f1ea30464356819492b6585f0f1/merged INFO: umounting image 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d (/var/lib/containers/storage/overlay/9b24b81454fbf86ae1f477ba8527d962860c9f1ea30464356819492b6585f0f1/merged) with podman image umount INFO: Removing image mock-bootstrap-4726a9de-1485-47c5-b140-03bf7d7a48dd INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1787260494.865673/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.0.92-2.fc45.x86_64 rpm-sequoia-1.10.2-5.fc45.x86_64 dnf5-5.4.3.0-2.fc46.x86_64 dnf5-plugins-5.4.3.0-2.fc46.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 93.1 KiB/s | 7.2 KiB | 00m00s fedora 100% | 30.5 MiB/s | 21.8 MiB | 00m01s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 0:5.3.15-2.fc45 fedora 8.5 MiB bzip2 x86_64 0:1.0.8-24.fc45 fedora 95.0 KiB coreutils x86_64 0:9.11-6.fc45 fedora 5.9 MiB cpio x86_64 0:2.15-10.fc45 fedora 1.1 MiB diffutils x86_64 0:3.12-6.fc45 fedora 1.6 MiB fedora-release-common noarch 0:46-0.1 fedora 4.6 KiB findutils x86_64 1:4.11.0-2.fc45 fedora 1.9 MiB gawk x86_64 0:5.4.1-1.fc45 fedora 2.2 MiB glibc-minimal-langpack x86_64 0:2.44-1.fc45 fedora 0.0 B grep x86_64 0:3.12-4.fc45 fedora 1.0 MiB gzip x86_64 0:1.14-4.fc45 fedora 401.6 KiB info x86_64 0:7.3-3.fc45 fedora 372.4 KiB patch x86_64 0:2.8-5.fc45 fedora 226.6 KiB redhat-rpm-config noarch 0:344-5.fc45 fedora 184.2 KiB rpm-build x86_64 0:6.0.92-2.fc45 fedora 312.2 KiB sed x86_64 0:4.10-2.fc45 fedora 866.5 KiB shadow-utils x86_64 2:4.20.0-1.fc45 fedora 3.9 MiB tar x86_64 2:1.35-9.fc45 fedora 3.0 MiB unzip x86_64 0:6.0-71.fc45 fedora 441.8 KiB util-linux x86_64 0:2.42.2-3.fc45 fedora 3.7 MiB which x86_64 0:2.25-2.fc45 fedora 83.6 KiB xz x86_64 1:5.8.3-2.fc45 fedora 1.4 MiB Installing dependencies: R-srpm-macros noarch 0:1.3.7-3.fc45 fedora 3.5 KiB add-determinism x86_64 0:0.7.3-3.fc45 fedora 2.2 MiB alternatives x86_64 0:1.33-6.fc45 fedora 62.1 KiB ansible-srpm-macros noarch 0:1-22.fc45 fedora 35.7 KiB audit-libs x86_64 0:4.2.1-2.fc45 fedora 390.5 KiB binutils x86_64 0:2.47-1.fc45 fedora 28.4 MiB build-reproducibility-srpm-macros noarch 0:0.7.3-3.fc45 fedora 1.2 KiB bzip2-libs x86_64 0:1.0.8-24.fc45 fedora 80.5 KiB ca-certificates noarch 0:2025.2.80_v9.0.304-9.fc45 fedora 2.6 MiB cmake-srpm-macros noarch 0:4.3.0-5.fc45 fedora 524.0 B coreutils-common x86_64 0:9.11-6.fc45 fedora 10.9 MiB crypto-policies noarch 0:20260713-2.gitc42da77.fc45 fedora 134.3 KiB curl x86_64 0:8.21.0-5.fc45 fedora 487.9 KiB cyrus-sasl-lib x86_64 0:2.1.28-37.fc45 fedora 2.3 MiB debugedit x86_64 0:5.3-3.fc45 fedora 220.8 KiB dwz x86_64 0:0.17-3.fc45 fedora 291.1 KiB ed x86_64 0:1.22.5-3.fc45 fedora 149.7 KiB efi-srpm-macros noarch 0:6-9.fc45 fedora 40.3 KiB elfutils x86_64 0:0.195-3.fc45 fedora 3.0 MiB elfutils-debuginfod-client x86_64 0:0.195-3.fc45 fedora 79.8 KiB elfutils-libelf x86_64 0:0.195-3.fc45 fedora 1.2 MiB elfutils-libs x86_64 0:0.195-3.fc45 fedora 715.3 KiB erlang-srpm-macros noarch 0:0.3.11-2.fc45 fedora 1.9 KiB fedora-gpg-keys noarch 0:46-0.1 fedora 130.3 KiB fedora-release noarch 0:46-0.1 fedora 0.0 B fedora-release-identity-basic noarch 0:46-0.1 fedora 664.0 B fedora-repos noarch 0:46-0.1 fedora 4.9 KiB fedora-repos-rawhide noarch 0:46-0.1 fedora 2.2 KiB file x86_64 0:5.47-3.fc45 fedora 101.2 KiB file-libs x86_64 0:5.47-3.fc45 fedora 12.2 MiB filesystem x86_64 0:3.18-59.fc45 fedora 112.0 B filesystem-srpm-macros noarch 0:3.18-59.fc45 fedora 38.2 KiB fips-provider x86_64 0:1.5.2-3.fc45 fedora 4.8 MiB fonts-srpm-macros noarch 1:5.0.0-4.fc45 fedora 55.8 KiB forge-srpm-macros noarch 0:0.4.0-5.fc45 fedora 38.9 KiB fpc-srpm-macros noarch 0:1.3-17.fc45 fedora 144.0 B gap-srpm-macros noarch 0:2-3.fc45 fedora 2.1 KiB gdb-minimal x86_64 0:17.2-4.fc45 fedora 14.2 MiB gdbm-libs x86_64 1:1.23-12.fc45 fedora 133.7 KiB ghc-srpm-macros noarch 0:1.10-2.fc45 fedora 792.0 B glibc x86_64 0:2.44-1.fc45 fedora 7.1 MiB glibc-common x86_64 0:2.44-1.fc45 fedora 1.0 MiB glibc-gconv-extra x86_64 0:2.44-1.fc45 fedora 7.7 MiB gmp x86_64 1:6.3.0-6.fc45 fedora 815.2 KiB gnat-srpm-macros noarch 0:7-3.fc45 fedora 1.0 KiB gnome-srpm-macros noarch 0:1.0-2.fc45 fedora 3.5 KiB gnulib-l10n noarch 0:20241231-4.fc45 fedora 655.0 KiB gnupg2 x86_64 0:2.4.9-18.fc45 fedora 6.5 MiB gnupg2-dirmngr x86_64 0:2.4.9-18.fc45 fedora 630.1 KiB gnupg2-gpg-agent x86_64 0:2.4.9-18.fc45 fedora 678.8 KiB gnupg2-gpgconf x86_64 0:2.4.9-18.fc45 fedora 253.8 KiB gnupg2-keyboxd x86_64 0:2.4.9-18.fc45 fedora 201.3 KiB gnupg2-verify x86_64 0:2.4.9-18.fc45 fedora 356.3 KiB gnutls x86_64 0:3.8.13-3.fc45 fedora 3.8 MiB go-srpm-macros noarch 0:3.8.0-3.fc45 fedora 61.9 KiB gpgverify noarch 0:2.2-5.fc45 fedora 8.7 KiB ima-evm-utils-libs x86_64 0:1.6.2-12.fc45 fedora 56.6 KiB jansson x86_64 0:2.14-5.fc45 fedora 89.0 KiB java-srpm-macros noarch 0:1-9.fc45 fedora 870.0 B json-c x86_64 0:0.18-9.fc45 fedora 82.7 KiB kernel-srpm-macros noarch 0:1.0-30.fc45 fedora 1.9 KiB keyutils-libs x86_64 0:1.6.3-8.fc45 fedora 54.2 KiB krb5-libs x86_64 0:1.22.2-9.fc45 fedora 2.4 MiB libacl x86_64 0:2.4.0-2.fc45 fedora 43.9 KiB libarchive x86_64 0:3.8.9-1.fc46 fedora 1.0 MiB libassuan x86_64 0:2.5.7-6.fc45 fedora 163.9 KiB libattr x86_64 0:2.6.0-2.fc45 fedora 24.3 KiB libblkid x86_64 0:2.42.2-3.fc45 fedora 282.3 KiB libbrotli x86_64 0:1.2.0-6.fc45 fedora 865.0 KiB libcap x86_64 0:2.78-2.fc45 fedora 208.2 KiB libcap-ng x86_64 0:0.9.3-5.fc45 fedora 68.8 KiB libcbor x86_64 0:0.14.0-3.fc45 fedora 83.5 KiB libcom_err x86_64 0:1.47.4-2.fc45 fedora 63.0 KiB libcurl x86_64 0:8.21.0-5.fc45 fedora 1.1 MiB libeconf x86_64 0:0.7.9-4.fc45 fedora 64.8 KiB libevent x86_64 0:2.1.12-19.fc45 fedora 978.8 KiB libfdisk x86_64 0:2.42.2-3.fc45 fedora 392.2 KiB libffi x86_64 0:3.5.2-3.fc45 fedora 83.7 KiB libfido2 x86_64 0:1.17.0-5.fc45 fedora 256.5 KiB libfsverity x86_64 0:1.7-4.fc45 fedora 24.4 KiB libgcc x86_64 0:16.1.1-4.fc45.1 fedora 270.7 KiB libgcrypt x86_64 0:1.12.2-2.fc45 fedora 1.7 MiB libgomp x86_64 0:16.1.1-4.fc45.1 fedora 577.4 KiB libgpg-error x86_64 0:1.61-2.fc45 fedora 953.9 KiB libidn2 x86_64 0:2.3.8-4.fc45 fedora 556.4 KiB libksba x86_64 0:1.8.0-3.fc45 fedora 431.1 KiB liblastlog2 x86_64 0:2.42.2-3.fc45 fedora 37.6 KiB libmount x86_64 0:2.42.2-3.fc45 fedora 404.8 KiB libnghttp2 x86_64 0:1.69.0-5.fc45 fedora 166.2 KiB libnghttp3 x86_64 0:1.18.0-1.fc45 fedora 163.4 KiB libpkgconf x86_64 0:2.5.1-2.fc45 fedora 90.1 KiB libpsl x86_64 0:0.23.1-1.fc45 fedora 80.4 KiB libselinux x86_64 0:3.11-4.fc45 fedora 205.2 KiB libselinux-utils x86_64 0:3.11-4.fc45 fedora 306.0 KiB libsemanage x86_64 0:3.11-3.fc45 fedora 316.4 KiB libsepol x86_64 0:3.11-2.fc45 fedora 866.1 KiB libsmartcols x86_64 0:2.42.2-3.fc45 fedora 188.5 KiB libssh x86_64 0:0.12.2-1.fc45 fedora 725.7 KiB libssh-config noarch 0:0.12.2-1.fc45 fedora 277.0 B libstdc++ x86_64 0:16.1.1-4.fc45.1 fedora 3.1 MiB libtasn1 x86_64 0:4.21.0-2.fc45 fedora 176.6 KiB libtool-ltdl x86_64 0:2.5.4-11.fc45 fedora 70.0 KiB libunistring x86_64 0:1.1-12.fc45 fedora 1.7 MiB libusb1 x86_64 0:1.0.30-2.fc45 fedora 180.1 KiB libuuid x86_64 0:2.42.2-3.fc45 fedora 37.2 KiB libverto x86_64 0:0.3.2-13.fc45 fedora 25.3 KiB libxcrypt x86_64 0:4.5.2-4.fc45 fedora 293.2 KiB libxml2 x86_64 0:2.13.9-4.fc45 fedora 1.8 MiB libzstd x86_64 0:1.5.7-6.fc45 fedora 956.1 KiB linkdupes x86_64 0:0.7.3-3.fc45 fedora 782.1 KiB lua-libs x86_64 0:5.5.1-1.fc45 fedora 298.0 KiB lua-srpm-macros noarch 0:1-18.fc45 fedora 1.3 KiB lz4-libs x86_64 0:1.10.0-5.fc45 fedora 165.3 KiB mpfr x86_64 0:4.2.2-4.fc45 fedora 849.2 KiB ncurses-base noarch 0:6.6-3.fc45 fedora 329.7 KiB ncurses-libs x86_64 0:6.6-3.fc45 fedora 969.1 KiB nettle x86_64 0:4.0-5.fc45 fedora 801.9 KiB ngtcp2 x86_64 0:1.22.1-3.fc45 fedora 334.3 KiB ngtcp2-crypto-ossl x86_64 0:1.22.1-3.fc45 fedora 51.6 KiB npth x86_64 0:1.8-5.fc45 fedora 49.5 KiB ocaml-srpm-macros noarch 0:11-4.fc45 fedora 1.9 KiB openblas-srpm-macros noarch 0:2-22.fc45 fedora 112.0 B openldap x86_64 0:2.6.13-4.fc45 fedora 677.9 KiB openssl-libs x86_64 1:4.0.1-5.fc45 fedora 6.7 MiB p11-kit x86_64 0:0.26.5-1.fc45 fedora 2.6 MiB p11-kit-trust x86_64 0:0.26.5-1.fc45 fedora 478.4 KiB package-notes-srpm-macros noarch 0:0.20-2.fc45 fedora 1.6 KiB pam-libs x86_64 0:1.7.2-4.fc45 fedora 134.5 KiB pcre2 x86_64 0:10.47-1.fc45.2 fedora 718.5 KiB pcre2-syntax noarch 0:10.47-1.fc45.2 fedora 281.9 KiB perl-srpm-macros noarch 0:1-65.fc45 fedora 861.0 B pkgconf x86_64 0:2.5.1-2.fc45 fedora 92.7 KiB pkgconf-m4 noarch 0:2.5.1-2.fc45 fedora 14.3 KiB pkgconf-pkg-config x86_64 0:2.5.1-2.fc45 fedora 989.0 B policycoreutils x86_64 0:3.11-2.fc45 fedora 892.9 KiB popt x86_64 0:1.19-11.fc45 fedora 136.7 KiB publicsuffix-list-dafsa noarch 0:20260624-2.fc45 fedora 71.3 KiB pyproject-srpm-macros noarch 0:1.23.2-1.fc45 fedora 3.4 KiB python-srpm-macros noarch 0:3.15-2.fc45 fedora 51.6 KiB qt5-srpm-macros noarch 0:5.15.18-3.fc45 fedora 500.0 B qt6-srpm-macros noarch 0:6.11.1-2.fc45 fedora 472.0 B readline x86_64 0:8.3-6.fc45 fedora 515.5 KiB redhat-systemd-presets noarch 0:102-3.fc45 fedora 1.0 KiB redhat-systemd-presets-common noarch 0:102-3.fc45 fedora 16.9 KiB rpm x86_64 0:6.0.92-2.fc45 fedora 3.1 MiB rpm-build-libs x86_64 0:6.0.92-2.fc45 fedora 288.3 KiB rpm-libs x86_64 0:6.0.92-2.fc45 fedora 1.1 MiB rpm-plugin-selinux x86_64 0:6.0.92-2.fc45 fedora 11.9 KiB rpm-sequoia x86_64 0:1.10.2-5.fc45 fedora 2.4 MiB rpm-sign-libs x86_64 0:6.0.92-2.fc45 fedora 39.6 KiB rust-srpm-macros noarch 0:28.5-2.fc45 fedora 5.5 KiB selinux-policy noarch 0:45.12-1.fc46 fedora 32.1 KiB selinux-policy-targeted noarch 0:45.12-1.fc46 fedora 19.0 MiB setup noarch 0:2.15.1-2.fc45 fedora 725.6 KiB sqlite-libs x86_64 0:3.53.4-1.fc45 fedora 1.6 MiB systemd-libs x86_64 0:261.2-1.fc45 fedora 2.7 MiB systemd-standalone-sysusers x86_64 0:261.2-1.fc45 fedora 944.4 KiB tpm2-tss x86_64 0:4.2.0-1.fc45 fedora 1.7 MiB tree-sitter-srpm-macros noarch 0:0.4.6-2.fc45 fedora 8.6 KiB util-linux-core x86_64 0:2.42.2-3.fc45 fedora 1.5 MiB xxhash-libs x86_64 0:0.8.3-5.fc45 fedora 94.0 KiB xz-libs x86_64 1:5.8.3-2.fc45 fedora 221.7 KiB zig-srpm-macros noarch 0:1-9.fc45 fedora 1.3 KiB zip x86_64 0:3.0-46.fc45 fedora 694.1 KiB zlib-ng-compat x86_64 0:2.3.3-6.fc45 fedora 165.6 KiB zstd x86_64 0:1.5.7-6.fc45 fedora 502.6 KiB Installing groups: Buildsystem building group Transaction Summary: Installing: 188 packages Total size of inbound packages is 72 MiB. Need to download 72 MiB. After this operation, 230 MiB extra will be used (install 230 MiB, remove 0 B). [ 1/188] bzip2-0:1.0.8-24.fc45.x86_64 100% | 17.0 MiB/s | 52.3 KiB | 00m00s [ 2/188] coreutils-0:9.11-6.fc45.x86_6 100% | 119.9 MiB/s | 1.2 MiB | 00m00s [ 3/188] cpio-0:2.15-10.fc45.x86_64 100% | 31.7 MiB/s | 292.5 KiB | 00m00s [ 4/188] bash-0:5.3.15-2.fc45.x86_64 100% | 126.1 MiB/s | 1.9 MiB | 00m00s [ 5/188] fedora-release-common-0:46-0. 100% | 8.9 MiB/s | 18.2 KiB | 00m00s [ 6/188] diffutils-0:3.12-6.fc45.x86_6 100% | 48.4 MiB/s | 396.6 KiB | 00m00s [ 7/188] glibc-minimal-langpack-0:2.44 100% | 39.1 MiB/s | 120.1 KiB | 00m00s [ 8/188] findutils-1:4.11.0-2.fc45.x86 100% | 92.9 MiB/s | 570.7 KiB | 00m00s [ 9/188] grep-0:3.12-4.fc45.x86_64 100% | 49.0 MiB/s | 301.0 KiB | 00m00s [ 10/188] patch-0:2.8-5.fc45.x86_64 100% | 37.3 MiB/s | 114.6 KiB | 00m00s [ 11/188] info-0:7.3-3.fc45.x86_64 100% | 46.7 MiB/s | 191.2 KiB | 00m00s [ 12/188] gzip-0:1.14-4.fc45.x86_64 100% | 29.2 MiB/s | 179.6 KiB | 00m00s [ 13/188] rpm-build-0:6.0.92-2.fc45.x86 100% | 51.5 MiB/s | 158.2 KiB | 00m00s [ 14/188] redhat-rpm-config-0:344-5.fc4 100% | 19.0 MiB/s | 77.7 KiB | 00m00s [ 15/188] sed-0:4.10-2.fc45.x86_64 100% | 78.8 MiB/s | 322.8 KiB | 00m00s [ 16/188] tar-2:1.35-9.fc45.x86_64 100% | 141.2 MiB/s | 867.4 KiB | 00m00s [ 17/188] unzip-0:6.0-71.fc45.x86_64 100% | 27.8 MiB/s | 199.6 KiB | 00m00s [ 18/188] shadow-utils-2:4.20.0-1.fc45. 100% | 157.3 MiB/s | 1.4 MiB | 00m00s [ 19/188] which-0:2.25-2.fc45.x86_64 100% | 20.6 MiB/s | 42.2 KiB | 00m00s [ 20/188] xz-1:5.8.3-2.fc45.x86_64 100% | 212.0 MiB/s | 651.2 KiB | 00m00s [ 21/188] gawk-0:5.4.1-1.fc45.x86_64 100% | 117.8 MiB/s | 1.2 MiB | 00m00s [ 22/188] util-linux-0:2.42.2-3.fc45.x8 100% | 105.4 MiB/s | 1.3 MiB | 00m00s [ 23/188] filesystem-0:3.18-59.fc45.x86 100% | 100.9 MiB/s | 1.8 MiB | 00m00s [ 24/188] ncurses-libs-0:6.6-3.fc45.x86 100% | 42.0 MiB/s | 343.7 KiB | 00m00s [ 25/188] bzip2-libs-0:1.0.8-24.fc45.x8 100% | 8.5 MiB/s | 43.5 KiB | 00m00s [ 26/188] glibc-0:2.44-1.fc45.x86_64 100% | 116.9 MiB/s | 2.5 MiB | 00m00s [ 27/188] gmp-1:6.3.0-6.fc45.x86_64 100% | 39.3 MiB/s | 321.8 KiB | 00m00s [ 28/188] coreutils-common-0:9.11-6.fc4 100% | 108.3 MiB/s | 2.2 MiB | 00m00s [ 29/188] libacl-0:2.4.0-2.fc45.x86_64 100% | 2.7 MiB/s | 27.5 KiB | 00m00s [ 30/188] libattr-0:2.6.0-2.fc45.x86_64 100% | 2.0 MiB/s | 18.1 KiB | 00m00s [ 31/188] libcap-0:2.78-2.fc45.x86_64 100% | 21.6 MiB/s | 88.6 KiB | 00m00s [ 32/188] libselinux-0:3.11-4.fc45.x86_ 100% | 25.3 MiB/s | 103.6 KiB | 00m00s [ 33/188] fedora-repos-0:46-0.1.noarch 100% | 1.8 MiB/s | 9.3 KiB | 00m00s [ 34/188] systemd-libs-0:261.2-1.fc45.x 100% | 84.0 MiB/s | 946.6 KiB | 00m00s [ 35/188] openssl-libs-1:4.0.1-5.fc45.x 100% | 137.4 MiB/s | 2.3 MiB | 00m00s [ 36/188] redhat-systemd-presets-0:102- 100% | 1.0 MiB/s | 8.5 KiB | 00m00s [ 37/188] glibc-common-0:2.44-1.fc45.x8 100% | 100.7 MiB/s | 412.5 KiB | 00m00s [ 38/188] pcre2-0:10.47-1.fc45.2.x86_64 100% | 54.0 MiB/s | 276.7 KiB | 00m00s [ 39/188] ed-0:1.22.5-3.fc45.x86_64 100% | 16.6 MiB/s | 85.2 KiB | 00m00s [ 40/188] R-srpm-macros-0:1.3.7-3.fc45. 100% | 3.6 MiB/s | 11.1 KiB | 00m00s [ 41/188] ansible-srpm-macros-0:1-22.fc 100% | 9.7 MiB/s | 19.8 KiB | 00m00s [ 42/188] build-reproducibility-srpm-ma 100% | 5.3 MiB/s | 10.8 KiB | 00m00s [ 43/188] cmake-srpm-macros-0:4.3.0-5.f 100% | 3.4 MiB/s | 10.3 KiB | 00m00s [ 44/188] efi-srpm-macros-0:6-9.fc45.no 100% | 7.0 MiB/s | 21.4 KiB | 00m00s [ 45/188] erlang-srpm-macros-0:0.3.11-2 100% | 3.2 MiB/s | 10.0 KiB | 00m00s [ 46/188] dwz-0:0.17-3.fc45.x86_64 100% | 34.0 MiB/s | 139.2 KiB | 00m00s [ 47/188] file-0:5.47-3.fc45.x86_64 100% | 16.1 MiB/s | 49.4 KiB | 00m00s [ 48/188] filesystem-srpm-macros-0:3.18 100% | 8.6 MiB/s | 26.4 KiB | 00m00s [ 49/188] fonts-srpm-macros-1:5.0.0-4.f 100% | 8.8 MiB/s | 27.2 KiB | 00m00s [ 50/188] forge-srpm-macros-0:0.4.0-5.f 100% | 9.6 MiB/s | 19.7 KiB | 00m00s [ 51/188] fpc-srpm-macros-0:1.3-17.fc45 100% | 3.8 MiB/s | 7.8 KiB | 00m00s [ 52/188] gap-srpm-macros-0:2-3.fc45.no 100% | 4.5 MiB/s | 9.3 KiB | 00m00s [ 53/188] ghc-srpm-macros-0:1.10-2.fc45 100% | 4.1 MiB/s | 8.5 KiB | 00m00s [ 54/188] gnat-srpm-macros-0:7-3.fc45.n 100% | 4.2 MiB/s | 8.6 KiB | 00m00s [ 55/188] gnome-srpm-macros-0:1.0-2.fc4 100% | 2.9 MiB/s | 8.8 KiB | 00m00s [ 56/188] go-srpm-macros-0:3.8.0-3.fc45 100% | 9.1 MiB/s | 27.8 KiB | 00m00s [ 57/188] java-srpm-macros-0:1-9.fc45.n 100% | 4.0 MiB/s | 8.3 KiB | 00m00s [ 58/188] kernel-srpm-macros-0:1.0-30.f 100% | 4.0 MiB/s | 8.3 KiB | 00m00s [ 59/188] lua-srpm-macros-0:1-18.fc45.n 100% | 4.2 MiB/s | 8.7 KiB | 00m00s [ 60/188] ocaml-srpm-macros-0:11-4.fc45 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [ 61/188] openblas-srpm-macros-0:2-22.f 100% | 3.7 MiB/s | 7.5 KiB | 00m00s [ 62/188] perl-srpm-macros-0:1-65.fc45. 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [ 63/188] package-notes-srpm-macros-0:0 100% | 3.4 MiB/s | 10.5 KiB | 00m00s [ 64/188] pyproject-srpm-macros-0:1.23. 100% | 5.1 MiB/s | 15.6 KiB | 00m00s [ 65/188] qt5-srpm-macros-0:5.15.18-3.f 100% | 3.9 MiB/s | 8.1 KiB | 00m00s [ 66/188] python-srpm-macros-0:3.15-2.f 100% | 7.8 MiB/s | 23.9 KiB | 00m00s [ 67/188] qt6-srpm-macros-0:6.11.1-2.fc 100% | 4.5 MiB/s | 9.2 KiB | 00m00s [ 68/188] rust-srpm-macros-0:28.5-2.fc4 100% | 5.6 MiB/s | 11.4 KiB | 00m00s [ 69/188] tree-sitter-srpm-macros-0:0.4 100% | 6.8 MiB/s | 14.0 KiB | 00m00s [ 70/188] rpm-0:6.0.92-2.fc45.x86_64 100% | 139.5 MiB/s | 571.4 KiB | 00m00s [ 71/188] zig-srpm-macros-0:1-9.fc45.no 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [ 72/188] zip-0:3.0-46.fc45.x86_64 100% | 86.1 MiB/s | 264.6 KiB | 00m00s [ 73/188] debugedit-0:5.3-3.fc45.x86_64 100% | 28.6 MiB/s | 87.9 KiB | 00m00s [ 74/188] elfutils-0:0.195-3.fc45.x86_6 100% | 144.0 MiB/s | 590.0 KiB | 00m00s [ 75/188] elfutils-libelf-0:0.195-3.fc4 100% | 51.4 MiB/s | 210.4 KiB | 00m00s [ 76/188] libarchive-0:3.8.9-1.fc46.x86 100% | 87.2 MiB/s | 446.2 KiB | 00m00s [ 77/188] libgcc-0:16.1.1-4.fc45.1.x86_ 100% | 43.4 MiB/s | 133.3 KiB | 00m00s [ 78/188] popt-0:1.19-11.fc45.x86_64 100% | 16.3 MiB/s | 66.6 KiB | 00m00s [ 79/188] readline-0:8.3-6.fc45.x86_64 100% | 55.9 MiB/s | 228.8 KiB | 00m00s [ 80/188] libstdc++-0:16.1.1-4.fc45.1.x 100% | 124.8 MiB/s | 1.0 MiB | 00m00s [ 81/188] rpm-build-libs-0:6.0.92-2.fc4 100% | 43.9 MiB/s | 134.8 KiB | 00m00s [ 82/188] rpm-libs-0:6.0.92-2.fc45.x86_ 100% | 93.1 MiB/s | 476.7 KiB | 00m00s [ 83/188] zstd-0:1.5.7-6.fc45.x86_64 100% | 46.8 MiB/s | 191.7 KiB | 00m00s [ 84/188] audit-libs-0:4.2.1-2.fc45.x86 100% | 35.0 MiB/s | 143.3 KiB | 00m00s [ 85/188] libeconf-0:0.7.9-4.fc45.x86_6 100% | 17.5 MiB/s | 35.9 KiB | 00m00s [ 86/188] libsemanage-0:3.11-3.fc45.x86 100% | 62.2 MiB/s | 127.3 KiB | 00m00s [ 87/188] libxcrypt-0:4.5.2-4.fc45.x86_ 100% | 63.9 MiB/s | 130.9 KiB | 00m00s [ 88/188] pam-libs-0:1.7.2-4.fc45.x86_6 100% | 28.5 MiB/s | 58.4 KiB | 00m00s [ 89/188] setup-0:2.15.1-2.fc45.noarch 100% | 51.3 MiB/s | 157.6 KiB | 00m00s [ 90/188] xz-libs-1:5.8.3-2.fc45.x86_64 100% | 37.8 MiB/s | 116.1 KiB | 00m00s [ 91/188] mpfr-0:4.2.2-4.fc45.x86_64 100% | 116.4 MiB/s | 357.4 KiB | 00m00s [ 92/188] libblkid-0:2.42.2-3.fc45.x86_ 100% | 43.6 MiB/s | 133.9 KiB | 00m00s [ 93/188] libcap-ng-0:0.9.3-5.fc45.x86_ 100% | 16.8 MiB/s | 34.4 KiB | 00m00s [ 94/188] libfdisk-0:2.42.2-3.fc45.x86_ 100% | 55.2 MiB/s | 169.6 KiB | 00m00s [ 95/188] libmount-0:2.42.2-3.fc45.x86_ 100% | 57.7 MiB/s | 177.2 KiB | 00m00s [ 96/188] liblastlog2-0:2.42.2-3.fc45.x 100% | 8.0 MiB/s | 24.7 KiB | 00m00s [ 97/188] libsmartcols-0:2.42.2-3.fc45. 100% | 43.2 MiB/s | 88.5 KiB | 00m00s [ 98/188] libuuid-0:2.42.2-3.fc45.x86_6 100% | 13.5 MiB/s | 27.7 KiB | 00m00s [ 99/188] util-linux-core-0:2.42.2-3.fc 100% | 141.8 MiB/s | 580.9 KiB | 00m00s [100/188] zlib-ng-compat-0:2.3.3-6.fc45 100% | 29.4 MiB/s | 90.4 KiB | 00m00s [101/188] ncurses-base-0:6.6-3.fc45.noa 100% | 14.3 MiB/s | 88.1 KiB | 00m00s [102/188] gnulib-l10n-0:20241231-4.fc45 100% | 24.5 MiB/s | 150.4 KiB | 00m00s [103/188] glibc-gconv-extra-0:2.44-1.fc 100% | 141.6 MiB/s | 1.7 MiB | 00m00s [104/188] libsepol-0:3.11-2.fc45.x86_64 100% | 71.3 MiB/s | 365.2 KiB | 00m00s [105/188] ca-certificates-0:2025.2.80_v 100% | 104.5 MiB/s | 963.4 KiB | 00m00s [106/188] crypto-policies-0:20260713-2. 100% | 15.9 MiB/s | 97.5 KiB | 00m00s [107/188] fedora-repos-rawhide-0:46-0.1 100% | 1.7 MiB/s | 8.8 KiB | 00m00s [108/188] fedora-gpg-keys-0:46-0.1.noar 100% | 23.4 MiB/s | 143.7 KiB | 00m00s [109/188] fips-provider-0:1.5.2-3.fc45. 100% | 107.7 MiB/s | 1.6 MiB | 00m00s [110/188] redhat-systemd-presets-common 100% | 2.2 MiB/s | 13.2 KiB | 00m00s [111/188] pcre2-syntax-0:10.47-1.fc45.2 100% | 23.0 MiB/s | 165.1 KiB | 00m00s [112/188] linkdupes-0:0.7.3-3.fc45.x86_ 100% | 66.3 MiB/s | 339.2 KiB | 00m00s [113/188] add-determinism-0:0.7.3-3.fc4 100% | 91.8 MiB/s | 845.7 KiB | 00m00s [114/188] file-libs-0:5.47-3.fc45.x86_6 100% | 106.5 MiB/s | 872.0 KiB | 00m00s [115/188] curl-0:8.21.0-5.fc45.x86_64 100% | 47.7 MiB/s | 244.0 KiB | 00m00s [116/188] elfutils-debuginfod-client-0: 100% | 15.2 MiB/s | 46.7 KiB | 00m00s [117/188] elfutils-libs-0:0.195-3.fc45. 100% | 55.2 MiB/s | 282.8 KiB | 00m00s [118/188] libzstd-0:1.5.7-6.fc45.x86_64 100% | 88.8 MiB/s | 363.9 KiB | 00m00s [119/188] lz4-libs-0:1.10.0-5.fc45.x86_ 100% | 26.2 MiB/s | 80.4 KiB | 00m00s [120/188] libxml2-0:2.13.9-4.fc45.x86_6 100% | 116.3 MiB/s | 714.8 KiB | 00m00s [121/188] libgomp-0:16.1.1-4.fc45.1.x86 100% | 77.0 MiB/s | 394.3 KiB | 00m00s [122/188] lua-libs-0:5.5.1-1.fc45.x86_6 100% | 46.9 MiB/s | 144.1 KiB | 00m00s [123/188] rpm-sign-libs-0:6.0.92-2.fc45 100% | 6.6 MiB/s | 27.0 KiB | 00m00s [124/188] rpm-sequoia-0:1.10.2-5.fc45.x 100% | 113.9 MiB/s | 933.3 KiB | 00m00s [125/188] sqlite-libs-0:3.53.4-1.fc45.x 100% | 88.1 MiB/s | 812.1 KiB | 00m00s [126/188] json-c-0:0.18-9.fc45.x86_64 100% | 9.1 MiB/s | 46.7 KiB | 00m00s [127/188] ima-evm-utils-libs-0:1.6.2-12 100% | 9.8 MiB/s | 30.2 KiB | 00m00s [128/188] libfsverity-0:1.7-4.fc45.x86_ 100% | 6.2 MiB/s | 19.0 KiB | 00m00s [129/188] gpgverify-0:2.2-5.fc45.noarch 100% | 2.8 MiB/s | 11.3 KiB | 00m00s [130/188] gnupg2-0:2.4.9-18.fc45.x86_64 100% | 137.6 MiB/s | 1.7 MiB | 00m00s [131/188] gnupg2-dirmngr-0:2.4.9-18.fc4 100% | 39.3 MiB/s | 281.6 KiB | 00m00s [132/188] gnupg2-gpg-agent-0:2.4.9-18.f 100% | 91.6 MiB/s | 281.3 KiB | 00m00s [133/188] gnupg2-gpgconf-0:2.4.9-18.fc4 100% | 37.9 MiB/s | 116.5 KiB | 00m00s [134/188] gnupg2-keyboxd-0:2.4.9-18.fc4 100% | 31.5 MiB/s | 96.6 KiB | 00m00s [135/188] gnupg2-verify-0:2.4.9-18.fc45 100% | 57.3 MiB/s | 176.1 KiB | 00m00s [136/188] libassuan-0:2.5.7-6.fc45.x86_ 100% | 16.7 MiB/s | 68.5 KiB | 00m00s [137/188] libgcrypt-0:1.12.2-2.fc45.x86 100% | 102.4 MiB/s | 629.0 KiB | 00m00s [138/188] libgpg-error-0:1.61-2.fc45.x8 100% | 49.4 MiB/s | 252.9 KiB | 00m00s [139/188] npth-0:1.8-5.fc45.x86_64 100% | 8.3 MiB/s | 25.5 KiB | 00m00s [140/188] tpm2-tss-0:4.2.0-1.fc45.x86_6 100% | 89.2 MiB/s | 456.8 KiB | 00m00s [141/188] libksba-0:1.8.0-3.fc45.x86_64 100% | 33.6 MiB/s | 172.2 KiB | 00m00s [142/188] gnutls-0:3.8.13-3.fc45.x86_64 100% | 158.0 MiB/s | 1.4 MiB | 00m00s [143/188] openldap-0:2.6.13-4.fc45.x86_ 100% | 53.2 MiB/s | 272.3 KiB | 00m00s [144/188] libusb1-0:1.0.30-2.fc45.x86_6 100% | 16.4 MiB/s | 83.8 KiB | 00m00s [145/188] libidn2-0:2.3.8-4.fc45.x86_64 100% | 85.5 MiB/s | 175.2 KiB | 00m00s [146/188] libtasn1-0:4.21.0-2.fc45.x86_ 100% | 37.1 MiB/s | 75.9 KiB | 00m00s [147/188] libunistring-0:1.1-12.fc45.x8 100% | 133.2 MiB/s | 545.8 KiB | 00m00s [148/188] nettle-0:4.0-5.fc45.x86_64 100% | 83.9 MiB/s | 429.7 KiB | 00m00s [149/188] p11-kit-0:0.26.5-1.fc45.x86_6 100% | 109.4 MiB/s | 560.0 KiB | 00m00s [150/188] cyrus-sasl-lib-0:2.1.28-37.fc 100% | 88.7 MiB/s | 817.8 KiB | 00m00s [151/188] libtool-ltdl-0:2.5.4-11.fc45. 100% | 7.2 MiB/s | 36.7 KiB | 00m00s [152/188] libevent-0:2.1.12-19.fc45.x86 100% | 35.1 MiB/s | 287.3 KiB | 00m00s [153/188] libffi-0:3.5.2-3.fc45.x86_64 100% | 20.4 MiB/s | 41.9 KiB | 00m00s [154/188] gdbm-libs-1:1.23-12.fc45.x86_ 100% | 19.0 MiB/s | 58.2 KiB | 00m00s [155/188] alternatives-0:1.33-6.fc45.x8 100% | 9.6 MiB/s | 39.4 KiB | 00m00s [156/188] jansson-0:2.14-5.fc45.x86_64 100% | 15.3 MiB/s | 46.9 KiB | 00m00s [157/188] pkgconf-pkg-config-0:2.5.1-2. 100% | 1.5 MiB/s | 9.5 KiB | 00m00s [158/188] pkgconf-0:2.5.1-2.fc45.x86_64 100% | 6.8 MiB/s | 49.0 KiB | 00m00s [159/188] pkgconf-m4-0:2.5.1-2.fc45.noa 100% | 3.4 MiB/s | 13.8 KiB | 00m00s [160/188] libpkgconf-0:2.5.1-2.fc45.x86 100% | 10.4 MiB/s | 42.6 KiB | 00m00s [161/188] p11-kit-trust-0:0.26.5-1.fc45 100% | 47.6 MiB/s | 146.3 KiB | 00m00s [162/188] fedora-release-0:46-0.1.noarc 100% | 3.9 MiB/s | 11.9 KiB | 00m00s [163/188] systemd-standalone-sysusers-0 100% | 67.8 MiB/s | 416.4 KiB | 00m00s [164/188] binutils-0:2.47-1.fc45.x86_64 100% | 160.1 MiB/s | 6.2 MiB | 00m00s [165/188] xxhash-libs-0:0.8.3-5.fc45.x8 100% | 3.1 MiB/s | 41.3 KiB | 00m00s [166/188] gdb-minimal-0:17.2-4.fc45.x86 100% | 163.4 MiB/s | 4.7 MiB | 00m00s [167/188] fedora-release-identity-basic 100% | 1.2 MiB/s | 12.7 KiB | 00m00s [168/188] libcurl-0:8.21.0-5.fc45.x86_6 100% | 47.0 MiB/s | 481.3 KiB | 00m00s [169/188] libnghttp2-0:1.69.0-5.fc45.x8 100% | 15.1 MiB/s | 77.2 KiB | 00m00s [170/188] libbrotli-0:1.2.0-6.fc45.x86_ 100% | 56.5 MiB/s | 347.3 KiB | 00m00s [171/188] krb5-libs-0:1.22.2-9.fc45.x86 100% | 87.1 MiB/s | 803.1 KiB | 00m00s [172/188] libnghttp3-0:1.18.0-1.fc45.x8 100% | 24.5 MiB/s | 75.1 KiB | 00m00s [173/188] libpsl-0:0.23.1-1.fc45.x86_64 100% | 33.0 MiB/s | 67.6 KiB | 00m00s [174/188] ngtcp2-crypto-ossl-0:1.22.1-3 100% | 9.1 MiB/s | 27.8 KiB | 00m00s [175/188] ngtcp2-0:1.22.1-3.fc45.x86_64 100% | 38.5 MiB/s | 157.7 KiB | 00m00s [176/188] libssh-0:0.12.2-1.fc45.x86_64 100% | 72.2 MiB/s | 295.9 KiB | 00m00s [177/188] keyutils-libs-0:1.6.3-8.fc45. 100% | 15.4 MiB/s | 31.5 KiB | 00m00s [178/188] libcom_err-0:1.47.4-2.fc45.x8 100% | 13.0 MiB/s | 26.6 KiB | 00m00s [179/188] libverto-0:0.3.2-13.fc45.x86_ 100% | 10.2 MiB/s | 21.0 KiB | 00m00s [180/188] publicsuffix-list-dafsa-0:202 100% | 29.8 MiB/s | 61.1 KiB | 00m00s [181/188] libfido2-0:1.17.0-5.fc45.x86_ 100% | 52.2 MiB/s | 106.9 KiB | 00m00s [182/188] libssh-config-0:0.12.2-1.fc45 100% | 4.4 MiB/s | 8.9 KiB | 00m00s [183/188] libcbor-0:0.14.0-3.fc45.x86_6 100% | 18.0 MiB/s | 36.8 KiB | 00m00s [184/188] policycoreutils-0:3.11-2.fc45 100% | 84.9 MiB/s | 261.0 KiB | 00m00s [185/188] selinux-policy-0:45.12-1.fc46 100% | 11.7 MiB/s | 36.1 KiB | 00m00s [186/188] libselinux-utils-0:3.11-4.fc4 100% | 40.2 MiB/s | 123.4 KiB | 00m00s [187/188] rpm-plugin-selinux-0:6.0.92-2 100% | 5.8 MiB/s | 17.8 KiB | 00m00s [188/188] selinux-policy-targeted-0:45. 100% | 252.2 MiB/s | 6.8 MiB | 00m00s -------------------------------------------------------------------------------- [188/188] Total 100% | 178.8 MiB/s | 71.9 MiB | 00m00s Running transaction Importing OpenPGP key 0x91211FCE: UserID : "Fedora (46) " Fingerprint: D924B10D3E810DABDD8B56B596E7E91491211FCE From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-46-primary The key was successfully imported. Importing OpenPGP key 0x91211FCE: UserID : "Fedora (46) " Fingerprint: D924B10D3E810DABDD8B56B596E7E91491211FCE From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-46-primary The key was successfully imported. Importing OpenPGP key 0xF577861E: UserID : "Fedora (45) " Fingerprint: 4F50A6114CD5C6976A7F1179655A4B02F577861E From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-45-primary The key was successfully imported. Importing OpenPGP key 0x9488FB64: UserID : "Fedora (47) " Fingerprint: B2E766FA50CA6FA2D5ED06FC09D879E09488FB64 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-47-primary The key was successfully imported. [ 1/190] Verify package files 100% | 669.0 B/s | 188.0 B | 00m00s >>> Running %pretrans scriptlet: filesystem-0:3.18-59.fc45.x86_64 >>> Finished %pretrans scriptlet: filesystem-0:3.18-59.fc45.x86_64 >>> [RPM] failed to open /var/lib/mock/fedora-rawhide-x86_64-1787260494.865673/root/etc/group for id/name lookup: No such file or directory [ 2/190] Prepare transaction 100% | 3.3 KiB/s | 188.0 B | 00m00s [ 3/190] Installing libgcc-0:16.1.1-4. 100% | 266.0 MiB/s | 272.4 KiB | 00m00s [ 4/190] Installing redhat-systemd-pre 100% | 0.0 B/s | 1.5 KiB | 00m00s [ 5/190] Installing redhat-systemd-pre 100% | 0.0 B/s | 18.1 KiB | 00m00s [ 6/190] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 7/190] Installing publicsuffix-list- 100% | 0.0 B/s | 72.0 KiB | 00m00s [ 8/190] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 9/190] Installing fedora-gpg-keys-0: 100% | 44.4 MiB/s | 181.7 KiB | 00m00s [ 10/190] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.5 KiB | 00m00s [ 11/190] Installing fedora-repos-0:46- 100% | 0.0 B/s | 5.9 KiB | 00m00s [ 12/190] Installing fedora-release-com 100% | 7.8 MiB/s | 8.0 KiB | 00m00s [ 13/190] Installing fedora-release-0:4 100% | 17.3 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.1-2.fc45.noarch >>> Finished sysusers scriptlet: setup-0:2.15.1-2.fc45.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 14/190] Installing setup-0:2.15.1-2.f 100% | 37.6 MiB/s | 731.3 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 15/190] Installing filesystem-0:3.18- 100% | 2.6 MiB/s | 253.6 KiB | 00m00s [ 16/190] Installing pkgconf-m4-0:2.5.1 100% | 0.0 B/s | 14.7 KiB | 00m00s [ 17/190] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 18/190] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 19/190] Installing coreutils-common-0 100% | 405.8 MiB/s | 11.0 MiB | 00m00s [ 20/190] Installing ncurses-base-0:6.6 100% | 86.7 MiB/s | 355.3 KiB | 00m00s [ 21/190] Installing bash-0:5.3.15-2.fc 100% | 242.1 MiB/s | 8.5 MiB | 00m00s [ 22/190] Installing glibc-common-0:2.4 100% | 49.0 MiB/s | 1.0 MiB | 00m00s [ 23/190] Installing glibc-gconv-extra- 100% | 311.3 MiB/s | 7.8 MiB | 00m00s [ 24/190] Installing glibc-0:2.44-1.fc4 100% | 174.2 MiB/s | 7.1 MiB | 00m00s [ 25/190] Installing ncurses-libs-0:6.6 100% | 238.0 MiB/s | 974.9 KiB | 00m00s [ 26/190] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 27/190] Installing zlib-ng-compat-0:2 100% | 162.5 MiB/s | 166.4 KiB | 00m00s [ 28/190] Installing bzip2-libs-0:1.0.8 100% | 79.7 MiB/s | 81.6 KiB | 00m00s [ 29/190] Installing libgpg-error-0:1.6 100% | 49.3 MiB/s | 959.7 KiB | 00m00s [ 30/190] Installing libstdc++-0:16.1.1 100% | 385.7 MiB/s | 3.1 MiB | 00m00s [ 31/190] Installing libzstd-0:1.5.7-6. 100% | 311.7 MiB/s | 957.4 KiB | 00m00s [ 32/190] Installing elfutils-libelf-0: 100% | 388.6 MiB/s | 1.2 MiB | 00m00s [ 33/190] Installing libassuan-0:2.5.7- 100% | 161.8 MiB/s | 165.7 KiB | 00m00s [ 34/190] Installing libgcrypt-0:1.12.2 100% | 415.7 MiB/s | 1.7 MiB | 00m00s [ 35/190] Installing readline-0:8.3-6.f 100% | 252.8 MiB/s | 517.7 KiB | 00m00s [ 36/190] Installing gmp-1:6.3.0-6.fc45 100% | 399.1 MiB/s | 817.4 KiB | 00m00s [ 37/190] Installing libacl-0:2.4.0-2.f 100% | 0.0 B/s | 44.7 KiB | 00m00s [ 38/190] Installing systemd-libs-0:261 100% | 389.0 MiB/s | 2.7 MiB | 00m00s [ 39/190] Installing xz-libs-1:5.8.3-2. 100% | 217.6 MiB/s | 222.8 KiB | 00m00s [ 40/190] Installing libuuid-0:2.42.2-3 100% | 0.0 B/s | 38.4 KiB | 00m00s [ 41/190] Installing popt-0:1.19-11.fc4 100% | 70.0 MiB/s | 143.3 KiB | 00m00s [ 42/190] Installing sqlite-libs-0:3.53 100% | 404.7 MiB/s | 1.6 MiB | 00m00s [ 43/190] Installing npth-0:1.8-5.fc45. 100% | 0.0 B/s | 50.6 KiB | 00m00s [ 44/190] Installing libblkid-0:2.42.2- 100% | 276.7 MiB/s | 283.4 KiB | 00m00s [ 45/190] Installing elfutils-libs-0:0. 100% | 350.2 MiB/s | 717.2 KiB | 00m00s [ 46/190] Installing libsepol-0:3.11-2. 100% | 423.4 MiB/s | 867.1 KiB | 00m00s [ 47/190] Installing gnupg2-gpgconf-0:2 100% | 14.7 MiB/s | 255.9 KiB | 00m00s [ 48/190] Installing pcre2-0:10.47-1.fc 100% | 351.5 MiB/s | 720.0 KiB | 00m00s [ 49/190] Installing libselinux-0:3.11- 100% | 201.6 MiB/s | 206.5 KiB | 00m00s [ 50/190] Installing grep-0:3.12-4.fc45 100% | 50.1 MiB/s | 1.0 MiB | 00m00s [ 51/190] Installing sed-0:4.10-2.fc45. 100% | 42.7 MiB/s | 874.9 KiB | 00m00s [ 52/190] Installing findutils-1:4.11.0 100% | 93.2 MiB/s | 2.0 MiB | 00m00s [ 53/190] Installing libxcrypt-0:4.5.2- 100% | 289.0 MiB/s | 295.9 KiB | 00m00s [ 54/190] Installing libtasn1-0:4.21.0- 100% | 174.3 MiB/s | 178.5 KiB | 00m00s [ 55/190] Installing libunistring-0:1.1 100% | 346.9 MiB/s | 1.7 MiB | 00m00s [ 56/190] Installing libidn2-0:2.3.8-4. 100% | 61.0 MiB/s | 562.6 KiB | 00m00s [ 57/190] Installing crypto-policies-0: 100% | 38.9 MiB/s | 159.5 KiB | 00m00s [ 58/190] Installing xz-1:5.8.3-2.fc45. 100% | 58.5 MiB/s | 1.4 MiB | 00m00s [ 59/190] Installing libmount-0:2.42.2- 100% | 198.1 MiB/s | 405.8 KiB | 00m00s [ 60/190] Installing gnupg2-verify-0:2. 100% | 19.4 MiB/s | 357.7 KiB | 00m00s [ 61/190] Installing mpfr-0:4.2.2-4.fc4 100% | 277.0 MiB/s | 850.9 KiB | 00m00s [ 62/190] Installing gawk-0:5.4.1-1.fc4 100% | 96.9 MiB/s | 2.2 MiB | 00m00s [ 63/190] Installing dwz-0:0.17-3.fc45. 100% | 15.9 MiB/s | 292.5 KiB | 00m00s [ 64/190] Installing libksba-0:1.8.0-3. 100% | 211.8 MiB/s | 433.7 KiB | 00m00s [ 65/190] Installing unzip-0:6.0-71.fc4 100% | 24.2 MiB/s | 445.3 KiB | 00m00s [ 66/190] Installing file-libs-0:5.47-3 100% | 641.4 MiB/s | 12.2 MiB | 00m00s [ 67/190] Installing file-0:5.47-3.fc45 100% | 5.9 MiB/s | 102.7 KiB | 00m00s [ 68/190] Installing diffutils-0:3.12-6 100% | 74.5 MiB/s | 1.6 MiB | 00m00s [ 69/190] Installing libattr-0:2.6.0-2. 100% | 0.0 B/s | 25.2 KiB | 00m00s [ 70/190] Installing libeconf-0:0.7.9-4 100% | 64.9 MiB/s | 66.4 KiB | 00m00s [ 71/190] Installing libcap-ng-0:0.9.3- 100% | 69.0 MiB/s | 70.6 KiB | 00m00s [ 72/190] Installing audit-libs-0:4.2.1 100% | 191.9 MiB/s | 393.1 KiB | 00m00s [ 73/190] Installing pam-libs-0:1.7.2-4 100% | 133.7 MiB/s | 136.9 KiB | 00m00s [ 74/190] Installing libcap-0:2.78-2.fc 100% | 11.6 MiB/s | 213.3 KiB | 00m00s [ 75/190] Installing libsemanage-0:3.11 100% | 310.7 MiB/s | 318.1 KiB | 00m00s [ 76/190] Installing libsmartcols-0:2.4 100% | 185.0 MiB/s | 189.5 KiB | 00m00s [ 77/190] Installing lua-libs-0:5.5.1-1 100% | 292.4 MiB/s | 299.4 KiB | 00m00s [ 78/190] Installing json-c-0:0.18-9.fc 100% | 82.0 MiB/s | 83.9 KiB | 00m00s [ 79/190] Installing libffi-0:3.5.2-3.f 100% | 83.1 MiB/s | 85.1 KiB | 00m00s [ 80/190] Installing p11-kit-0:0.26.5-1 100% | 109.8 MiB/s | 2.6 MiB | 00m00s [ 81/190] Installing alternatives-0:1.3 100% | 3.9 MiB/s | 63.6 KiB | 00m00s [ 82/190] Installing p11-kit-trust-0:0. 100% | 18.8 MiB/s | 480.1 KiB | 00m00s [ 83/190] Installing ngtcp2-0:1.22.1-3. 100% | 164.0 MiB/s | 335.8 KiB | 00m00s [ 84/190] Installing util-linux-core-0: 100% | 68.3 MiB/s | 1.5 MiB | 00m00s [ 85/190] Installing liblastlog2-0:2.42 100% | 6.4 MiB/s | 39.5 KiB | 00m00s [ 86/190] Installing zip-0:3.0-46.fc45. 100% | 34.1 MiB/s | 698.0 KiB | 00m00s [ 87/190] Installing gnupg2-keyboxd-0:2 100% | 33.0 MiB/s | 202.5 KiB | 00m00s [ 88/190] Installing libpsl-0:0.23.1-1. 100% | 79.6 MiB/s | 81.5 KiB | 00m00s [ 89/190] Installing tar-2:1.35-9.fc45. 100% | 119.0 MiB/s | 3.0 MiB | 00m00s [ 90/190] Installing linkdupes-0:0.7.3- 100% | 40.3 MiB/s | 783.5 KiB | 00m00s [ 91/190] Installing libselinux-utils-0 100% | 16.5 MiB/s | 320.4 KiB | 00m00s [ 92/190] Installing libfdisk-0:2.42.2- 100% | 192.1 MiB/s | 393.4 KiB | 00m00s [ 93/190] Installing fips-provider-0:1. 100% | 401.7 MiB/s | 4.8 MiB | 00m00s [ 94/190] Installing openssl-libs-1:4.0 100% | 392.6 MiB/s | 6.7 MiB | 00m00s [ 95/190] Installing coreutils-0:9.11-6 100% | 160.1 MiB/s | 5.9 MiB | 00m00s [ 96/190] Installing ca-certificates-0: 100% | 2.1 MiB/s | 2.4 MiB | 00m01s [ 97/190] Installing gzip-0:1.14-4.fc45 100% | 19.9 MiB/s | 407.2 KiB | 00m00s [ 98/190] Installing util-linux-0:2.42. 100% | 93.9 MiB/s | 3.8 MiB | 00m00s [ 99/190] Installing policycoreutils-0: 100% | 31.0 MiB/s | 921.4 KiB | 00m00s [100/190] Installing selinux-policy-0:4 100% | 1.8 MiB/s | 34.5 KiB | 00m00s [101/190] Installing selinux-policy-tar 100% | 216.2 MiB/s | 15.1 MiB | 00m00s [102/190] Installing rpm-sequoia-0:1.10 100% | 345.7 MiB/s | 2.4 MiB | 00m00s [103/190] Installing libfsverity-0:1.7- 100% | 24.8 MiB/s | 25.4 KiB | 00m00s [104/190] Installing libevent-0:2.1.12- 100% | 319.8 MiB/s | 982.6 KiB | 00m00s [105/190] Installing ngtcp2-crypto-ossl 100% | 0.0 B/s | 52.5 KiB | 00m00s [106/190] Installing libxml2-0:2.13.9-4 100% | 76.4 MiB/s | 1.8 MiB | 00m00s [107/190] Installing libusb1-0:1.0.30-2 100% | 22.2 MiB/s | 181.8 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [108/190] Installing tpm2-tss-0:4.2.0-1 100% | 277.9 MiB/s | 1.7 MiB | 00m00s [109/190] Installing ima-evm-utils-libs 100% | 56.5 MiB/s | 57.9 KiB | 00m00s [110/190] Installing gnupg2-gpg-agent-0 100% | 26.7 MiB/s | 682.8 KiB | 00m00s [111/190] Installing nettle-0:4.0-5.fc4 100% | 262.0 MiB/s | 805.0 KiB | 00m00s [112/190] Installing gnutls-0:3.8.13-3. 100% | 383.8 MiB/s | 3.8 MiB | 00m00s [113/190] Installing zstd-0:1.5.7-6.fc4 100% | 26.0 MiB/s | 506.1 KiB | 00m00s [114/190] Installing bzip2-0:1.0.8-24.f 100% | 5.7 MiB/s | 99.5 KiB | 00m00s [115/190] Installing add-determinism-0: 100% | 98.1 MiB/s | 2.2 MiB | 00m00s [116/190] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [117/190] Installing cpio-0:2.15-10.fc4 100% | 55.2 MiB/s | 1.1 MiB | 00m00s [118/190] Installing ed-0:1.22.5-3.fc45 100% | 8.7 MiB/s | 152.0 KiB | 00m00s [119/190] Installing patch-0:2.8-5.fc45 100% | 12.4 MiB/s | 228.1 KiB | 00m00s [120/190] Installing lz4-libs-0:1.10.0- 100% | 162.5 MiB/s | 166.4 KiB | 00m00s [121/190] Installing libarchive-0:3.8.9 100% | 327.4 MiB/s | 1.0 MiB | 00m00s [122/190] Installing libgomp-0:16.1.1-4 100% | 282.6 MiB/s | 578.8 KiB | 00m00s [123/190] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 71.1 KiB | 00m00s [124/190] Installing gdbm-libs-1:1.23-1 100% | 132.2 MiB/s | 135.4 KiB | 00m00s [125/190] Installing cyrus-sasl-lib-0:2 100% | 101.7 MiB/s | 2.3 MiB | 00m00s [126/190] Installing openldap-0:2.6.13- 100% | 221.9 MiB/s | 681.7 KiB | 00m00s [127/190] Installing gnupg2-dirmngr-0:2 100% | 24.7 MiB/s | 632.8 KiB | 00m00s [128/190] Installing gnupg2-0:2.4.9-18. 100% | 191.2 MiB/s | 6.5 MiB | 00m00s [129/190] Installing gpgverify-0:2.2-5. 100% | 0.0 B/s | 9.4 KiB | 00m00s [130/190] Installing jansson-0:2.14-5.f 100% | 88.2 MiB/s | 90.3 KiB | 00m00s [131/190] Installing libpkgconf-0:2.5.1 100% | 89.1 MiB/s | 91.3 KiB | 00m00s [132/190] Installing pkgconf-0:2.5.1-2. 100% | 5.5 MiB/s | 95.2 KiB | 00m00s [133/190] Installing pkgconf-pkg-config 100% | 104.3 KiB/s | 1.8 KiB | 00m00s [134/190] Installing systemd-standalone 100% | 48.6 MiB/s | 945.0 KiB | 00m00s [135/190] Installing rpm-libs-0:6.0.92- 100% | 274.8 MiB/s | 1.1 MiB | 00m00s [136/190] Installing rpm-sign-libs-0:6. 100% | 39.5 MiB/s | 40.5 KiB | 00m00s [137/190] Installing rpm-build-libs-0:6 100% | 282.4 MiB/s | 289.2 KiB | 00m00s [138/190] Installing xxhash-libs-0:0.8. 100% | 93.2 MiB/s | 95.4 KiB | 00m00s [139/190] Installing libbrotli-0:1.2.0- 100% | 282.3 MiB/s | 867.3 KiB | 00m00s [140/190] Installing libnghttp2-0:1.69. 100% | 163.4 MiB/s | 167.3 KiB | 00m00s [141/190] Installing libnghttp3-0:1.18. 100% | 161.0 MiB/s | 164.8 KiB | 00m00s [142/190] Installing keyutils-libs-0:1. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [143/190] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.1 KiB | 00m00s [144/190] Installing libverto-0:0.3.2-1 100% | 26.4 MiB/s | 27.1 KiB | 00m00s [145/190] Installing krb5-libs-0:1.22.2 100% | 341.0 MiB/s | 2.4 MiB | 00m00s [146/190] Installing libcbor-0:0.14.0-3 100% | 82.9 MiB/s | 84.9 KiB | 00m00s [147/190] Installing libfido2-0:1.17.0- 100% | 252.0 MiB/s | 258.1 KiB | 00m00s [148/190] Installing libssh-0:0.12.2-1. 100% | 355.4 MiB/s | 727.8 KiB | 00m00s [149/190] Installing libcurl-0:8.21.0-5 100% | 351.4 MiB/s | 1.1 MiB | 00m00s [150/190] Installing elfutils-debuginfo 100% | 4.7 MiB/s | 82.1 KiB | 00m00s [151/190] Installing elfutils-0:0.195-3 100% | 124.5 MiB/s | 3.0 MiB | 00m00s [152/190] Installing binutils-0:2.47-1. 100% | 330.2 MiB/s | 28.4 MiB | 00m00s [153/190] Installing gdb-minimal-0:17.2 100% | 262.2 MiB/s | 14.2 MiB | 00m00s [154/190] Installing debugedit-0:5.3-3. 100% | 12.2 MiB/s | 224.1 KiB | 00m00s [155/190] Installing curl-0:8.21.0-5.fc 100% | 17.7 MiB/s | 490.6 KiB | 00m00s [156/190] Installing rpm-0:6.0.92-2.fc4 100% | 69.5 MiB/s | 2.5 MiB | 00m00s [157/190] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [158/190] Installing efi-srpm-macros-0: 100% | 40.3 MiB/s | 41.3 KiB | 00m00s [159/190] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [160/190] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [161/190] Installing tree-sitter-srpm-m 100% | 1.9 MiB/s | 9.6 KiB | 00m00s [162/190] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [163/190] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [164/190] Installing rust-srpm-macros-0 100% | 0.0 B/s | 6.4 KiB | 00m00s [165/190] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 748.0 B | 00m00s [166/190] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [167/190] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [168/190] Installing package-notes-srpm 100% | 0.0 B/s | 2.1 KiB | 00m00s [169/190] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [170/190] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [171/190] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [172/190] Installing gnome-srpm-macros- 100% | 0.0 B/s | 4.1 KiB | 00m00s [173/190] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [174/190] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [175/190] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [176/190] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [177/190] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [178/190] Installing redhat-rpm-config- 100% | 185.9 MiB/s | 190.4 KiB | 00m00s [179/190] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [180/190] Installing rpm-build-0:6.0.92 100% | 16.6 MiB/s | 322.2 KiB | 00m00s [181/190] Installing erlang-srpm-macros 100% | 0.0 B/s | 2.5 KiB | 00m00s [182/190] Installing pyproject-srpm-mac 100% | 0.0 B/s | 4.0 KiB | 00m00s [183/190] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [184/190] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 63.0 KiB | 00m00s [185/190] Installing R-srpm-macros-0:1. 100% | 0.0 B/s | 4.4 KiB | 00m00s [186/190] Installing python-srpm-macros 100% | 0.0 B/s | 52.9 KiB | 00m00s [187/190] Installing rpm-plugin-selinux 100% | 0.0 B/s | 12.9 KiB | 00m00s [188/190] Installing which-0:2.25-2.fc4 100% | 4.7 MiB/s | 85.8 KiB | 00m00s [189/190] Installing shadow-utils-2:4.2 100% | 123.3 MiB/s | 3.9 MiB | 00m00s [190/190] Installing info-0:7.3-3.fc45. 100% | 55.8 KiB/s | 372.8 KiB | 00m07s Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: R-srpm-macros-1.3.7-3.fc45.noarch add-determinism-0.7.3-3.fc45.x86_64 alternatives-1.33-6.fc45.x86_64 ansible-srpm-macros-1-22.fc45.noarch audit-libs-4.2.1-2.fc45.x86_64 bash-5.3.15-2.fc45.x86_64 binutils-2.47-1.fc45.x86_64 build-reproducibility-srpm-macros-0.7.3-3.fc45.noarch bzip2-1.0.8-24.fc45.x86_64 bzip2-libs-1.0.8-24.fc45.x86_64 ca-certificates-2025.2.80_v9.0.304-9.fc45.noarch cmake-srpm-macros-4.3.0-5.fc45.noarch coreutils-9.11-6.fc45.x86_64 coreutils-common-9.11-6.fc45.x86_64 cpio-2.15-10.fc45.x86_64 crypto-policies-20260713-2.gitc42da77.fc45.noarch curl-8.21.0-5.fc45.x86_64 cyrus-sasl-lib-2.1.28-37.fc45.x86_64 debugedit-5.3-3.fc45.x86_64 diffutils-3.12-6.fc45.x86_64 dwz-0.17-3.fc45.x86_64 ed-1.22.5-3.fc45.x86_64 efi-srpm-macros-6-9.fc45.noarch elfutils-0.195-3.fc45.x86_64 elfutils-debuginfod-client-0.195-3.fc45.x86_64 elfutils-libelf-0.195-3.fc45.x86_64 elfutils-libs-0.195-3.fc45.x86_64 erlang-srpm-macros-0.3.11-2.fc45.noarch fedora-gpg-keys-46-0.1.noarch fedora-release-46-0.1.noarch fedora-release-common-46-0.1.noarch fedora-release-identity-basic-46-0.1.noarch fedora-repos-46-0.1.noarch fedora-repos-rawhide-46-0.1.noarch file-5.47-3.fc45.x86_64 file-libs-5.47-3.fc45.x86_64 filesystem-3.18-59.fc45.x86_64 filesystem-srpm-macros-3.18-59.fc45.noarch findutils-4.11.0-2.fc45.x86_64 fips-provider-1.5.2-3.fc45.x86_64 fonts-srpm-macros-5.0.0-4.fc45.noarch forge-srpm-macros-0.4.0-5.fc45.noarch fpc-srpm-macros-1.3-17.fc45.noarch gap-srpm-macros-2-3.fc45.noarch gawk-5.4.1-1.fc45.x86_64 gdb-minimal-17.2-4.fc45.x86_64 gdbm-libs-1.23-12.fc45.x86_64 ghc-srpm-macros-1.10-2.fc45.noarch glibc-2.44-1.fc45.x86_64 glibc-common-2.44-1.fc45.x86_64 glibc-gconv-extra-2.44-1.fc45.x86_64 glibc-minimal-langpack-2.44-1.fc45.x86_64 gmp-6.3.0-6.fc45.x86_64 gnat-srpm-macros-7-3.fc45.noarch gnome-srpm-macros-1.0-2.fc45.noarch gnulib-l10n-20241231-4.fc45.noarch gnupg2-2.4.9-18.fc45.x86_64 gnupg2-dirmngr-2.4.9-18.fc45.x86_64 gnupg2-gpg-agent-2.4.9-18.fc45.x86_64 gnupg2-gpgconf-2.4.9-18.fc45.x86_64 gnupg2-keyboxd-2.4.9-18.fc45.x86_64 gnupg2-verify-2.4.9-18.fc45.x86_64 gnutls-3.8.13-3.fc45.x86_64 go-srpm-macros-3.8.0-3.fc45.noarch gpg-pubkey-4f50a6114cd5c6976a7f1179655a4b02f577861e-6888bc98 gpg-pubkey-b2e766fa50ca6fa2d5ed06fc09d879e09488fb64-6a6b46b4 gpg-pubkey-d924b10d3e810dabdd8b56b596e7e91491211fce-697c9899 gpgverify-2.2-5.fc45.noarch grep-3.12-4.fc45.x86_64 gzip-1.14-4.fc45.x86_64 ima-evm-utils-libs-1.6.2-12.fc45.x86_64 info-7.3-3.fc45.x86_64 jansson-2.14-5.fc45.x86_64 java-srpm-macros-1-9.fc45.noarch json-c-0.18-9.fc45.x86_64 kernel-srpm-macros-1.0-30.fc45.noarch keyutils-libs-1.6.3-8.fc45.x86_64 krb5-libs-1.22.2-9.fc45.x86_64 libacl-2.4.0-2.fc45.x86_64 libarchive-3.8.9-1.fc46.x86_64 libassuan-2.5.7-6.fc45.x86_64 libattr-2.6.0-2.fc45.x86_64 libblkid-2.42.2-3.fc45.x86_64 libbrotli-1.2.0-6.fc45.x86_64 libcap-2.78-2.fc45.x86_64 libcap-ng-0.9.3-5.fc45.x86_64 libcbor-0.14.0-3.fc45.x86_64 libcom_err-1.47.4-2.fc45.x86_64 libcurl-8.21.0-5.fc45.x86_64 libeconf-0.7.9-4.fc45.x86_64 libevent-2.1.12-19.fc45.x86_64 libfdisk-2.42.2-3.fc45.x86_64 libffi-3.5.2-3.fc45.x86_64 libfido2-1.17.0-5.fc45.x86_64 libfsverity-1.7-4.fc45.x86_64 libgcc-16.1.1-4.fc45.1.x86_64 libgcrypt-1.12.2-2.fc45.x86_64 libgomp-16.1.1-4.fc45.1.x86_64 libgpg-error-1.61-2.fc45.x86_64 libidn2-2.3.8-4.fc45.x86_64 libksba-1.8.0-3.fc45.x86_64 liblastlog2-2.42.2-3.fc45.x86_64 libmount-2.42.2-3.fc45.x86_64 libnghttp2-1.69.0-5.fc45.x86_64 libnghttp3-1.18.0-1.fc45.x86_64 libpkgconf-2.5.1-2.fc45.x86_64 libpsl-0.23.1-1.fc45.x86_64 libselinux-3.11-4.fc45.x86_64 libselinux-utils-3.11-4.fc45.x86_64 libsemanage-3.11-3.fc45.x86_64 libsepol-3.11-2.fc45.x86_64 libsmartcols-2.42.2-3.fc45.x86_64 libssh-0.12.2-1.fc45.x86_64 libssh-config-0.12.2-1.fc45.noarch libstdc++-16.1.1-4.fc45.1.x86_64 libtasn1-4.21.0-2.fc45.x86_64 libtool-ltdl-2.5.4-11.fc45.x86_64 libunistring-1.1-12.fc45.x86_64 libusb1-1.0.30-2.fc45.x86_64 libuuid-2.42.2-3.fc45.x86_64 libverto-0.3.2-13.fc45.x86_64 libxcrypt-4.5.2-4.fc45.x86_64 libxml2-2.13.9-4.fc45.x86_64 libzstd-1.5.7-6.fc45.x86_64 linkdupes-0.7.3-3.fc45.x86_64 lua-libs-5.5.1-1.fc45.x86_64 lua-srpm-macros-1-18.fc45.noarch lz4-libs-1.10.0-5.fc45.x86_64 mpfr-4.2.2-4.fc45.x86_64 ncurses-base-6.6-3.fc45.noarch ncurses-libs-6.6-3.fc45.x86_64 nettle-4.0-5.fc45.x86_64 ngtcp2-1.22.1-3.fc45.x86_64 ngtcp2-crypto-ossl-1.22.1-3.fc45.x86_64 npth-1.8-5.fc45.x86_64 ocaml-srpm-macros-11-4.fc45.noarch openblas-srpm-macros-2-22.fc45.noarch openldap-2.6.13-4.fc45.x86_64 openssl-libs-4.0.1-5.fc45.x86_64 p11-kit-0.26.5-1.fc45.x86_64 p11-kit-trust-0.26.5-1.fc45.x86_64 package-notes-srpm-macros-0.20-2.fc45.noarch pam-libs-1.7.2-4.fc45.x86_64 patch-2.8-5.fc45.x86_64 pcre2-10.47-1.fc45.2.x86_64 pcre2-syntax-10.47-1.fc45.2.noarch perl-srpm-macros-1-65.fc45.noarch pkgconf-2.5.1-2.fc45.x86_64 pkgconf-m4-2.5.1-2.fc45.noarch pkgconf-pkg-config-2.5.1-2.fc45.x86_64 policycoreutils-3.11-2.fc45.x86_64 popt-1.19-11.fc45.x86_64 publicsuffix-list-dafsa-20260624-2.fc45.noarch pyproject-srpm-macros-1.23.2-1.fc45.noarch python-srpm-macros-3.15-2.fc45.noarch qt5-srpm-macros-5.15.18-3.fc45.noarch qt6-srpm-macros-6.11.1-2.fc45.noarch readline-8.3-6.fc45.x86_64 redhat-rpm-config-344-5.fc45.noarch redhat-systemd-presets-102-3.fc45.noarch redhat-systemd-presets-common-102-3.fc45.noarch rpm-6.0.92-2.fc45.x86_64 rpm-build-6.0.92-2.fc45.x86_64 rpm-build-libs-6.0.92-2.fc45.x86_64 rpm-libs-6.0.92-2.fc45.x86_64 rpm-plugin-selinux-6.0.92-2.fc45.x86_64 rpm-sequoia-1.10.2-5.fc45.x86_64 rpm-sign-libs-6.0.92-2.fc45.x86_64 rust-srpm-macros-28.5-2.fc45.noarch sed-4.10-2.fc45.x86_64 selinux-policy-45.12-1.fc46.noarch selinux-policy-targeted-45.12-1.fc46.noarch setup-2.15.1-2.fc45.noarch shadow-utils-4.20.0-1.fc45.x86_64 sqlite-libs-3.53.4-1.fc45.x86_64 systemd-libs-261.2-1.fc45.x86_64 systemd-standalone-sysusers-261.2-1.fc45.x86_64 tar-1.35-9.fc45.x86_64 tpm2-tss-4.2.0-1.fc45.x86_64 tree-sitter-srpm-macros-0.4.6-2.fc45.noarch unzip-6.0-71.fc45.x86_64 util-linux-2.42.2-3.fc45.x86_64 util-linux-core-2.42.2-3.fc45.x86_64 which-2.25-2.fc45.x86_64 xxhash-libs-0.8.3-5.fc45.x86_64 xz-5.8.3-2.fc45.x86_64 xz-libs-5.8.3-2.fc45.x86_64 zig-srpm-macros-1-9.fc45.noarch zip-3.0-46.fc45.x86_64 zlib-ng-compat-2.3.3-6.fc45.x86_64 zstd-1.5.7-6.fc45.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1787260494.865673/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-nwki_t2c/python-elasticsearch/python-elasticsearch.spec) Config(child) 0 minutes 20 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-elasticsearch-9.4.1-2.fc46.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1787260494.865673/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1787260494.865673/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1787260494.865673/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.0.92-2.fc45.x86_64 rpm-sequoia-1.10.2-5.fc45.x86_64 dnf5-5.4.3.0-2.fc46.x86_64 dnf5-plugins-5.4.3.0-2.fc46.x86_64 Finish: chroot init Start: build phase for python-elasticsearch-9.4.1-2.fc46.src.rpm Start: build setup for python-elasticsearch-9.4.1-2.fc46.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.src.rpm Updating and loading repositories: fedora 100% | 110.3 KiB/s | 19.1 KiB | 00m00s Copr repository 100% | 39.9 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-devel x86_64 0:3.15.0~rc1-1.fc45 fedora 2.4 MiB python3-pytest noarch 0:9.1.1-1.fc45 fedora 24.3 MiB python3-sphinx_rtd_theme noarch 0:3.1.0-5.fc45 fedora 327.5 KiB Installing dependencies: expat x86_64 0:2.8.1-2.fc45 fedora 323.5 KiB fontawesome4-fonts noarch 1:4.7.0-27.fc45 fedora 296.6 KiB fonts-filesystem noarch 1:5.0.0-4.fc45 fedora 0.0 B google-roboto-slab-fonts noarch 0:1.100263-0.29.20150923git.fc45 fedora 699.6 KiB lato-fonts noarch 0:2.015-26.fc45 fedora 11.3 MiB mpdecimal x86_64 0:4.0.1-4.fc45 fedora 221.2 KiB pyproject-rpm-macros noarch 0:1.23.2-1.fc45 fedora 156.3 KiB python-pip-wheel noarch 0:26.1.2-2.fc45 fedora 1.2 MiB python-rpm-macros noarch 0:3.15-2.fc45 fedora 28.0 KiB python3 x86_64 0:3.15.0~rc1-1.fc45 fedora 28.8 KiB python3-babel noarch 0:2.18.0-4.fc45 fedora 30.3 MiB python3-charset-normalizer noarch 0:3.5.1-1.fc46 fedora 477.3 KiB python3-docutils noarch 0:0.23-2.fc45 fedora 5.6 MiB python3-idna noarch 0:3.18-2.fc45 fedora 523.7 KiB python3-imagesize noarch 0:2.0.0-3.fc45 fedora 82.8 KiB python3-iniconfig noarch 0:2.3.0-5.fc45 fedora 49.6 KiB python3-jinja2 noarch 0:3.1.6-10.fc45 fedora 3.3 MiB python3-libs x86_64 0:3.15.0~rc1-1.fc45 fedora 48.1 MiB python3-markupsafe x86_64 0:3.0.2-10.fc45 fedora 62.8 KiB python3-packaging noarch 0:26.3-1.fc46 fedora 1.3 MiB python3-pluggy noarch 0:1.6.0-8.fc45 fedora 216.0 KiB python3-pygments noarch 0:2.20.0-5.fc45 fedora 11.3 MiB python3-requests noarch 0:2.34.2-2.fc45 fedora 679.2 KiB python3-roman-numerals noarch 0:4.1.0-3.fc45 fedora 41.2 KiB python3-rpm-generators noarch 0:14-33.fc46 fedora 81.9 KiB python3-rpm-macros noarch 0:3.15-2.fc45 fedora 6.5 KiB python3-snowballstemmer noarch 0:3.1.1-2.fc45 fedora 1.8 MiB python3-sphinx noarch 1:9.1.0-7.fc45 fedora 14.1 MiB python3-sphinx-theme-alabaster noarch 0:0.7.16-14.fc45 fedora 42.0 KiB python3-sphinxcontrib-jquery noarch 0:4.1-17.fc45 fedora 382.5 KiB python3-urllib3 noarch 0:2.7.0-7.fc45 fedora 1.1 MiB tzdata noarch 0:2026c-1.fc45 fedora 1.2 MiB Transaction Summary: Installing: 35 packages Total size of inbound packages is 36 MiB. Need to download 36 MiB. After this operation, 162 MiB extra will be used (install 162 MiB, remove 0 B). [ 1/35] python3-sphinx_rtd_theme-0:3.1. 100% | 8.4 MiB/s | 86.3 KiB | 00m00s [ 2/35] python3-devel-0:3.15.0~rc1-1.fc 100% | 39.2 MiB/s | 482.2 KiB | 00m00s [ 3/35] python3-iniconfig-0:2.3.0-5.fc4 100% | 3.6 MiB/s | 25.8 KiB | 00m00s [ 4/35] python3-pytest-0:9.1.1-1.fc45.n 100% | 147.1 MiB/s | 2.5 MiB | 00m00s [ 5/35] python3-packaging-0:26.3-1.fc46 100% | 41.0 MiB/s | 293.6 KiB | 00m00s [ 6/35] python3-pluggy-0:1.6.0-8.fc45.n 100% | 10.0 MiB/s | 61.3 KiB | 00m00s [ 7/35] google-roboto-slab-fonts-0:1.10 100% | 23.3 MiB/s | 238.9 KiB | 00m00s [ 8/35] python3-pygments-0:2.20.0-5.fc4 100% | 156.4 MiB/s | 2.7 MiB | 00m00s [ 9/35] python3-docutils-0:0.23-2.fc45. 100% | 196.8 MiB/s | 1.2 MiB | 00m00s [10/35] fontawesome4-fonts-1:4.7.0-27.f 100% | 5.0 MiB/s | 203.8 KiB | 00m00s [11/35] python3-sphinx-1:9.1.0-7.fc45.n 100% | 95.4 MiB/s | 3.1 MiB | 00m00s [12/35] python3-sphinxcontrib-jquery-0: 100% | 2.6 MiB/s | 114.1 KiB | 00m00s [13/35] fonts-filesystem-1:5.0.0-4.fc45 100% | 1.4 MiB/s | 8.7 KiB | 00m00s [14/35] python3-libs-0:3.15.0~rc1-1.fc4 100% | 162.5 MiB/s | 11.2 MiB | 00m00s [15/35] python3-imagesize-0:2.0.0-3.fc4 100% | 7.0 MiB/s | 35.9 KiB | 00m00s [16/35] python3-jinja2-0:3.1.6-10.fc45. 100% | 89.7 MiB/s | 642.7 KiB | 00m00s [17/35] python3-requests-0:2.34.2-2.fc4 100% | 30.6 MiB/s | 188.0 KiB | 00m00s [18/35] python3-babel-0:2.18.0-4.fc45.n 100% | 106.7 MiB/s | 6.9 MiB | 00m00s [19/35] python3-roman-numerals-0:4.1.0- 100% | 1.8 MiB/s | 20.1 KiB | 00m00s [20/35] python3-sphinx-theme-alabaster- 100% | 1.6 MiB/s | 24.2 KiB | 00m00s [21/35] lato-fonts-0:2.015-26.fc45.noar 100% | 18.4 MiB/s | 3.1 MiB | 00m00s [22/35] expat-0:2.8.1-2.fc45.x86_64 100% | 10.6 MiB/s | 129.9 KiB | 00m00s [23/35] mpdecimal-0:4.0.1-4.fc45.x86_64 100% | 9.6 MiB/s | 98.5 KiB | 00m00s [24/35] python3-snowballstemmer-0:3.1.1 100% | 6.9 MiB/s | 282.1 KiB | 00m00s [25/35] tzdata-0:2026c-1.fc45.noarch 100% | 69.5 MiB/s | 712.0 KiB | 00m00s [26/35] python-pip-wheel-0:26.1.2-2.fc4 100% | 69.1 MiB/s | 1.2 MiB | 00m00s [27/35] python3-markupsafe-0:3.0.2-10.f 100% | 5.2 MiB/s | 31.9 KiB | 00m00s [28/35] python3-charset-normalizer-0:3. 100% | 27.6 MiB/s | 141.2 KiB | 00m00s [29/35] python3-idna-0:3.18-2.fc45.noar 100% | 25.5 MiB/s | 104.5 KiB | 00m00s [30/35] python3-urllib3-0:2.7.0-7.fc45. 100% | 49.4 MiB/s | 303.7 KiB | 00m00s [31/35] python3-0:3.15.0~rc1-1.fc45.x86 100% | 6.6 MiB/s | 27.0 KiB | 00m00s [32/35] pyproject-rpm-macros-0:1.23.2-1 100% | 13.4 MiB/s | 54.8 KiB | 00m00s [33/35] python-rpm-macros-0:3.15-2.fc45 100% | 9.7 MiB/s | 19.8 KiB | 00m00s [34/35] python3-rpm-generators-0:14-33. 100% | 9.3 MiB/s | 28.5 KiB | 00m00s [35/35] python3-rpm-macros-0:3.15-2.fc4 100% | 6.0 MiB/s | 12.2 KiB | 00m00s -------------------------------------------------------------------------------- [35/35] Total 100% | 146.5 MiB/s | 36.2 MiB | 00m00s Running transaction [ 1/37] Verify package files 100% | 269.0 B/s | 35.0 B | 00m00s [ 2/37] Prepare transaction 100% | 636.0 B/s | 35.0 B | 00m00s [ 3/37] Installing python-rpm-macros-0: 100% | 28.2 MiB/s | 28.9 KiB | 00m00s [ 4/37] Installing fonts-filesystem-1:5 100% | 0.0 B/s | 788.0 B | 00m00s [ 5/37] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.8 KiB | 00m00s [ 6/37] Installing pyproject-rpm-macros 100% | 154.9 MiB/s | 158.6 KiB | 00m00s [ 7/37] Installing fontawesome4-fonts-1 100% | 290.8 MiB/s | 297.8 KiB | 00m00s [ 8/37] Installing google-roboto-slab-f 100% | 342.5 MiB/s | 701.4 KiB | 00m00s [ 9/37] Installing lato-fonts-0:2.015-2 100% | 333.4 MiB/s | 11.3 MiB | 00m00s [10/37] Installing tzdata-0:2026c-1.fc4 100% | 53.7 MiB/s | 1.5 MiB | 00m00s [11/37] Installing python-pip-wheel-0:2 100% | 622.9 MiB/s | 1.2 MiB | 00m00s [12/37] Installing mpdecimal-0:4.0.1-4. 100% | 217.5 MiB/s | 222.7 KiB | 00m00s [13/37] Installing expat-0:2.8.1-2.fc45 100% | 13.2 MiB/s | 325.6 KiB | 00m00s [14/37] Installing python3-libs-0:3.15. 100% | 359.6 MiB/s | 48.5 MiB | 00m00s [15/37] Installing python3-0:3.15.0~rc1 100% | 1.7 MiB/s | 30.5 KiB | 00m00s [16/37] Installing python3-packaging-0: 100% | 217.6 MiB/s | 1.3 MiB | 00m00s [17/37] Installing python3-pygments-0:2 100% | 206.0 MiB/s | 11.5 MiB | 00m00s [18/37] Installing python3-docutils-0:0 100% | 158.2 MiB/s | 5.7 MiB | 00m00s [19/37] Installing python3-idna-0:3.18- 100% | 27.3 MiB/s | 531.6 KiB | 00m00s [20/37] Installing python3-urllib3-0:2. 100% | 232.6 MiB/s | 1.2 MiB | 00m00s [21/37] Installing python3-rpm-generato 100% | 0.0 B/s | 83.0 KiB | 00m00s [22/37] Installing python3-iniconfig-0: 100% | 52.7 MiB/s | 54.0 KiB | 00m00s [23/37] Installing python3-pluggy-0:1.6 100% | 54.3 MiB/s | 222.4 KiB | 00m00s [24/37] Installing python3-babel-0:2.18 100% | 351.0 MiB/s | 30.5 MiB | 00m00s [25/37] Installing python3-imagesize-0: 100% | 83.9 MiB/s | 85.9 KiB | 00m00s [26/37] Installing python3-roman-numera 100% | 43.1 MiB/s | 44.1 KiB | 00m00s [27/37] Installing python3-snowballstem 100% | 301.3 MiB/s | 1.8 MiB | 00m00s [28/37] Installing python3-sphinx-theme 100% | 45.5 MiB/s | 46.6 KiB | 00m00s [29/37] Installing python3-markupsafe-0 100% | 65.5 MiB/s | 67.1 KiB | 00m00s [30/37] Installing python3-jinja2-0:3.1 100% | 412.9 MiB/s | 3.3 MiB | 00m00s [31/37] Installing python3-charset-norm 100% | 25.1 MiB/s | 487.4 KiB | 00m00s [32/37] Installing python3-requests-0:2 100% | 135.2 MiB/s | 692.0 KiB | 00m00s [33/37] Installing python3-sphinx-1:9.1 100% | 210.1 MiB/s | 14.3 MiB | 00m00s [34/37] Installing python3-sphinxcontri 100% | 188.5 MiB/s | 386.1 KiB | 00m00s [35/37] Installing python3-sphinx_rtd_t 100% | 56.7 MiB/s | 348.4 KiB | 00m00s [36/37] Installing python3-pytest-0:9.1 100% | 359.4 MiB/s | 24.4 MiB | 00m00s [37/37] Installing python3-devel-0:3.15 100% | 47.2 MiB/s | 2.5 MiB | 00m00s Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.src.rpm Updating and loading repositories: fedora 100% | 118.5 KiB/s | 19.1 KiB | 00m00s Copr repository 100% | 58.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Nothing to do. Package "python3-devel-3.15.0~rc1-1.fc45.x86_64" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-sphinx_rtd_theme-3.1.0-5.fc45.noarch" is already installed. Finish: build setup for python-elasticsearch-9.4.1-2.fc46.src.rpm Start: rpmbuild python-elasticsearch-9.4.1-2.fc46.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.juJnCG Creating(rpmbuild.env): /builddir/build/BUILD/python-elasticsearch-9.4.1-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-elasticsearch-9.4.1-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="x86_64" RPM_OS="linux" RPM_BUILD_NCPUS="4" RPM_SPECPARTS_DIR="/builddir/build/BUILD/python-elasticsearch-9.4.1-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="python-elasticsearch" RPM_PACKAGE_VERSION="9.4.1" RPM_PACKAGE_RELEASE="2.fc46" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wTF1Ek + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + rm -rf elasticsearch-py-9.4.1 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/elasticsearch-py-9.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd elasticsearch-py-9.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /unasync/d pyproject.toml + sed -i /mapbox-vector-tile/d pyproject.toml + sed -i /simsimd/d pyproject.toml + sed -i /pyright/d pyproject.toml + sed -i /sentence_transformers/d pyproject.toml + sed -i /types-python-dateutil/d pyproject.toml + sed -i /types-tqdm/d pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.daTTDa + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + cd elasticsearch-py-9.4.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-dep-overrides -r -x dev Handling hatchling from build-system.requires Requirement not satisfied: hatchling Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 112.2 KiB/s | 19.1 KiB | 00m00s Copr repository 100% | 47.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.23.2-1.fc45.noarch" is already installed. Package "python3-devel-3.15.0~rc1-1.fc45.x86_64" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-sphinx_rtd_theme-3.1.0-5.fc45.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package Arch Version Repository Size Installing: python3-hatchling noarch 0:1.31.0-2.fc45 fedora 697.3 KiB python3-pip noarch 0:26.1.2-2.fc45 fedora 12.1 MiB Installing dependencies: python3-pathspec noarch 0:1.1.1-4.fc45 fedora 421.6 KiB python3-trove-classifiers noarch 0:2026.6.1.19-2.fc45 fedora 112.6 KiB Transaction Summary: Installing: 4 packages Total size of inbound packages is 3 MiB. Need to download 3 MiB. After this operation, 13 MiB extra will be used (install 13 MiB, remove 0 B). [1/4] python3-pathspec-0:1.1.1-4.fc45.n 100% | 18.2 MiB/s | 112.0 KiB | 00m00s [2/4] python3-hatchling-0:1.31.0-2.fc45 100% | 38.3 MiB/s | 235.4 KiB | 00m00s [3/4] python3-trove-classifiers-0:2026. 100% | 11.1 MiB/s | 34.1 KiB | 00m00s [4/4] python3-pip-0:26.1.2-2.fc45.noarc 100% | 94.4 MiB/s | 2.7 MiB | 00m00s -------------------------------------------------------------------------------- [4/4] Total 100% | 77.8 MiB/s | 3.1 MiB | 00m00s Running transaction [1/6] Verify package files 100% | 363.0 B/s | 4.0 B | 00m00s [2/6] Prepare transaction 100% | 181.0 B/s | 4.0 B | 00m00s [3/6] Installing python3-trove-classifi 100% | 6.3 MiB/s | 116.4 KiB | 00m00s [4/6] Installing python3-pathspec-0:1.1 100% | 108.4 MiB/s | 443.9 KiB | 00m00s [5/6] Installing python3-hatchling-0:1. 100% | 28.0 MiB/s | 746.4 KiB | 00m00s [6/6] Installing python3-pip-0:26.1.2-2 100% | 160.2 MiB/s | 12.3 MiB | 00m00s Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.dSyHR4 + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + cd elasticsearch-py-9.4.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-dep-overrides -r -x dev Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.31.0) Handling anyio from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: anyio Handling elastic-transport<10,>=9.4.1 from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: elastic-transport<10,>=9.4.1 Handling python-dateutil from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: python-dateutil Handling sniffio from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: sniffio Handling typing-extensions from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: typing-extensions Handling aiohttp<4,>=3; extra == 'async' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: aiohttp<4,>=3; extra == 'async' Handling aiohttp; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: aiohttp; extra == "dev" Handling anyio[trio]; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: anyio[trio]; extra == "dev" Handling black; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: black; extra == "dev" Handling build; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: build; extra == "dev" Handling coverage; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: coverage; extra == "dev" Handling httpx; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: httpx; extra == "dev" Handling isort; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: isort; extra == "dev" Handling jinja2; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: jinja2; extra == "dev" (installed: jinja2 3.1.6) Handling mypy; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: mypy; extra == "dev" Handling nox; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: nox; extra == "dev" Handling numpy; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: numpy; extra == "dev" Handling orjson; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: orjson; extra == "dev" Handling pandas; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: pandas; extra == "dev" Handling pyarrow; (python_version < '3.14') and extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: pyarrow; (python_version < '3.14') and extra == 'dev' Handling pydantic; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: pydantic; extra == "dev" Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest; extra == "dev" (installed: pytest 9.1.1) Handling pytest-asyncio; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: pytest-asyncio; extra == "dev" Handling pytest-cov; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: pytest-cov; extra == "dev" Handling pytest-mock; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: pytest-mock; extra == "dev" Handling python-dateutil; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: python-dateutil; extra == "dev" Handling pyyaml>=5.4; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: pyyaml>=5.4; extra == "dev" Handling requests<3,>=2; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: requests<3,>=2; extra == "dev" (installed: requests 2.34.2) Handling tqdm; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: tqdm; extra == "dev" Handling twine; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement not satisfied: twine; extra == "dev" Handling sphinx; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinx-rtd-theme>=2.0; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx-rtd-theme>=2.0; extra == 'docs' Handling orjson>=3; extra == 'orjson' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: orjson>=3; extra == 'orjson' Handling pyarrow>=1; extra == 'pyarrow' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: pyarrow>=1; extra == 'pyarrow' Handling requests!=2.32.2,<3.0.0,>=2.4.0; extra == 'requests' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: requests!=2.32.2,<3.0.0,>=2.4.0; extra == 'requests' + cat /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires + rm -rfv elasticsearch-9.4.1.dist-info/ removed 'elasticsearch-9.4.1.dist-info/METADATA' removed directory 'elasticsearch-9.4.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 120.0 KiB/s | 19.1 KiB | 00m00s Copr repository 100% | 63.2 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.23.2-1.fc45.noarch" is already installed. Package "python3-devel-3.15.0~rc1-1.fc45.x86_64" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-sphinx_rtd_theme-3.1.0-5.fc45.noarch" is already installed. Package "python3-hatchling-1.31.0-2.fc45.noarch" is already installed. Package "python3-jinja2-3.1.6-10.fc45.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-pip-26.1.2-2.fc45.noarch" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package Arch Version Repository Size Installing: black noarch 0:26.5.1-2.fc46 copr_base 2.2 MiB nox noarch 0:2026.08.17-1.fc46 fedora 780.5 KiB python3-aiohttp x86_64 0:3.14.3-1.fc46 copr_base 4.5 MiB python3-anyio noarch 0:4.14.2-2.fc45 fedora 1.7 MiB python3-anyio+trio noarch 0:4.14.2-2.fc45 fedora 0.0 B python3-build noarch 0:1.5.1-1.fc46 fedora 226.6 KiB python3-coverage x86_64 0:7.15.4-1.fc46 fedora 2.1 MiB python3-dateutil noarch 1:2.9.0.post0-15.fc45 fedora 879.9 KiB python3-elastic-transport noarch 0:9.4.1-1.fc45 fedora 494.7 KiB python3-httpx noarch 0:0.28.1-14.fc45 fedora 1.0 MiB python3-isort noarch 0:8.0.1-3.fc45 fedora 778.2 KiB python3-mypy noarch 0:1.18.2-6.fc45 fedora 23.9 MiB python3-numpy x86_64 1:2.5.2-1.fc45 fedora 42.9 MiB python3-orjson x86_64 0:3.12.0-1.fc46 fedora 662.2 KiB python3-pandas x86_64 0:3.0.5-4.fc45 fedora 40.1 MiB python3-pydantic noarch 0:2.13.4-5.fc45 fedora 5.3 MiB python3-pytest-asyncio noarch 0:1.4.0-4.fc45 fedora 171.5 KiB python3-pytest-cov noarch 0:7.1.0-4.fc45 fedora 176.7 KiB python3-pytest-mock noarch 0:3.15.1-4.fc45 fedora 134.4 KiB python3-pyyaml x86_64 0:6.0.3-6.fc45 fedora 794.2 KiB python3-sniffio noarch 0:1.3.1-11.fc45 fedora 35.5 KiB python3-tqdm noarch 0:4.69.0-1.fc45 fedora 583.3 KiB python3-typing-extensions noarch 0:4.16.0-2.fc45 fedora 554.7 KiB twine noarch 0:7.0.0-1.fc46 fedora 310.5 KiB Installing dependencies: flexiblas x86_64 0:3.5.0-3.fc45 fedora 38.0 KiB flexiblas-netlib x86_64 0:3.5.0-3.fc45 fedora 16.3 MiB flexiblas-openblas-openmp x86_64 0:3.5.0-3.fc45 fedora 39.1 KiB less x86_64 0:704-4.fc46 fedora 483.5 KiB libgfortran x86_64 0:16.1.1-4.fc45.1 fedora 3.4 MiB libquadmath x86_64 0:16.1.1-4.fc45.1 fedora 321.9 KiB libyaml x86_64 0:0.2.5-19.fc45 fedora 138.5 KiB llhttp x86_64 0:9.4.2-2.fc45 fedora 97.2 KiB openblas x86_64 0:0.3.34-1.fc45 fedora 138.1 KiB openblas-openmp x86_64 0:0.3.34-1.fc45 fedora 44.8 MiB python-setuptools-wheel noarch 0:83.0.0-2.fc45 fedora 933.0 KiB python3-Bottleneck x86_64 0:1.6.0-5.fc45 fedora 574.6 KiB python3-aiohappyeyeballs noarch 0:2.7.1-2.fc45 fedora 88.8 KiB python3-aiosignal noarch 0:1.4.0-9.fc45 fedora 25.0 KiB python3-annotated-types noarch 0:0.8.0-1.fc45 fedora 83.8 KiB python3-argcomplete noarch 0:3.6.3-7.fc45 fedora 326.8 KiB python3-attrs noarch 0:26.1.0-4.fc45 fedora 441.4 KiB python3-certifi noarch 0:2026.01.04-3.fc45 fedora 7.5 KiB python3-cffi x86_64 0:2.1.1-1.fc46 fedora 1.4 MiB python3-click noarch 1:8.4.2-1.fc45 fedora 1.3 MiB python3-colorlog noarch 0:6.12.0-1.fc45 fedora 60.6 KiB python3-coverage+toml x86_64 0:7.15.4-1.fc46 fedora 0.0 B python3-cryptography x86_64 0:50.0.0-1.fc46 fedora 7.0 MiB python3-dependency-groups noarch 0:1.3.0-8.fc45 fedora 42.5 KiB python3-discovery noarch 0:1.5.2-1.fc46 fedora 335.4 KiB python3-distlib noarch 0:0.4.0-7.fc45 fedora 1.2 MiB python3-filelock noarch 0:3.20.3-4.fc45 fedora 101.6 KiB python3-frozenlist x86_64 0:1.8.0-9.fc45 fedora 154.7 KiB python3-h11 noarch 0:0.16.0-8.fc45 fedora 285.6 KiB python3-httpcore noarch 0:1.0.9-9.fc45 fedora 880.9 KiB python3-humanize noarch 0:4.16.0-2.fc45 fedora 239.3 KiB python3-id noarch 0:1.6.1-3.fc45 fedora 68.3 KiB python3-jaraco-classes noarch 0:3.4.0-13.fc45 fedora 41.3 KiB python3-jaraco-context noarch 0:6.1.0-5.fc45 fedora 36.6 KiB python3-jaraco-functools noarch 0:4.6.0-1.fc45 fedora 81.2 KiB python3-jeepney noarch 0:0.9.0-10.fc45 fedora 1.8 MiB python3-keyring noarch 0:25.7.0-9.fc45 fedora 307.8 KiB python3-markdown-it-py noarch 0:4.2.0-2.fc45 fedora 577.0 KiB python3-mdurl noarch 0:0.1.2-16.fc45 fedora 44.3 KiB python3-more-itertools noarch 0:11.1.0-2.fc45 fedora 627.8 KiB python3-multidict x86_64 0:6.7.1-4.fc45 fedora 338.5 KiB python3-mypy_extensions noarch 0:1.1.0-8.fc45 fedora 31.3 KiB python3-nh3 x86_64 0:0.3.6-4.fc45 fedora 2.0 MiB python3-numexpr x86_64 0:2.14.1-4.fc45 fedora 861.3 KiB python3-numpy-f2py x86_64 1:2.5.2-1.fc45 fedora 2.1 MiB python3-outcome noarch 0:1.3.0.post0-8.fc45 fedora 40.8 KiB python3-platformdirs noarch 0:4.9.1-4.fc45 fedora 244.3 KiB python3-propcache x86_64 0:0.5.2-4.fc45 fedora 154.8 KiB python3-pycparser noarch 0:3.00-4.fc45 fedora 685.5 KiB python3-pydantic-core x86_64 0:2.46.4-11.fc45 fedora 5.3 MiB python3-pyproject-hooks noarch 0:1.2.0-12.fc45 fedora 69.9 KiB python3-pytokens noarch 0:0.4.1-5.fc45 fedora 174.5 KiB python3-readme-renderer noarch 0:44.0-12.fc45 fedora 53.1 KiB python3-requests-toolbelt noarch 0:1.0.0-17.fc45 fedora 300.1 KiB python3-rfc3986 noarch 0:2.0.0-8.fc45 fedora 201.3 KiB python3-rich noarch 0:15.0.0-4.fc45 fedora 3.5 MiB python3-secretstorage noarch 0:3.5.0-4.fc45 fedora 133.4 KiB python3-setuptools noarch 0:83.0.0-2.fc45 fedora 7.3 MiB python3-six noarch 0:1.17.0-10.fc45 fedora 118.2 KiB python3-sortedcontainers noarch 0:2.4.0-29.fc45 fedora 393.8 KiB python3-trio noarch 0:0.33.0-3.fc45 fedora 6.6 MiB python3-typing-inspection noarch 0:0.4.4-1.fc46 fedora 93.9 KiB python3-virtualenv noarch 0:21.7.4-1.fc46 fedora 813.2 KiB python3-yarl x86_64 0:1.22.0-5.fc45 fedora 551.7 KiB Transaction Summary: Installing: 88 packages Total size of inbound packages is 51 MiB. Need to download 51 MiB. After this operation, 247 MiB extra will be used (install 247 MiB, remove 0 B). [ 1/88] python3-anyio-0:4.14.2-2.fc45.n 100% | 33.8 MiB/s | 346.6 KiB | 00m00s [ 2/88] python3-build-0:1.5.1-1.fc46.no 100% | 8.8 MiB/s | 90.6 KiB | 00m00s [ 3/88] python3-coverage-0:7.15.4-1.fc4 100% | 40.6 MiB/s | 457.6 KiB | 00m00s [ 4/88] python3-httpx-0:0.28.1-14.fc45. 100% | 34.8 MiB/s | 213.6 KiB | 00m00s [ 5/88] python3-elastic-transport-0:9.4 100% | 2.9 MiB/s | 134.6 KiB | 00m00s [ 6/88] python3-anyio+trio-0:4.14.2-2.f 100% | 185.7 KiB/s | 9.5 KiB | 00m00s [ 7/88] python3-isort-0:8.0.1-3.fc45.no 100% | 4.2 MiB/s | 241.8 KiB | 00m00s [ 8/88] nox-0:2026.08.17-1.fc46.noarch 100% | 4.1 MiB/s | 200.6 KiB | 00m00s [ 9/88] python3-orjson-0:3.12.0-1.fc46. 100% | 42.1 MiB/s | 258.5 KiB | 00m00s [10/88] python3-pandas-0:3.0.5-4.fc45.x 100% | 128.2 MiB/s | 7.6 MiB | 00m00s [11/88] python3-pydantic-0:2.13.4-5.fc4 100% | 22.4 MiB/s | 1.0 MiB | 00m00s [12/88] python3-pytest-asyncio-0:1.4.0- 100% | 7.6 MiB/s | 46.7 KiB | 00m00s [13/88] python3-pytest-cov-0:7.1.0-4.fc 100% | 12.0 MiB/s | 49.0 KiB | 00m00s [14/88] python3-pytest-mock-0:3.15.1-4. 100% | 10.7 MiB/s | 43.8 KiB | 00m00s [15/88] python3-dateutil-1:2.9.0.post0- 100% | 37.4 MiB/s | 344.8 KiB | 00m00s [16/88] python3-pyyaml-0:6.0.3-6.fc45.x 100% | 46.7 MiB/s | 238.9 KiB | 00m00s [17/88] python3-sniffio-0:1.3.1-11.fc45 100% | 6.7 MiB/s | 27.4 KiB | 00m00s [18/88] python3-tqdm-0:4.69.0-1.fc45.no 100% | 19.6 MiB/s | 180.3 KiB | 00m00s [19/88] python3-mypy-0:1.18.2-6.fc45.no 100% | 18.5 MiB/s | 4.1 MiB | 00m00s [20/88] twine-0:7.0.0-1.fc46.noarch 100% | 11.0 MiB/s | 124.5 KiB | 00m00s [21/88] python3-typing-extensions-0:4.1 100% | 22.3 MiB/s | 114.2 KiB | 00m00s [22/88] python3-aiohttp-0:3.14.3-1.fc46 100% | 108.9 MiB/s | 891.8 KiB | 00m00s [23/88] python3-certifi-0:2026.01.04-3. 100% | 3.7 MiB/s | 15.1 KiB | 00m00s [24/88] python3-trio-0:0.33.0-3.fc45.no 100% | 176.7 MiB/s | 1.2 MiB | 00m00s [25/88] python3-pyproject-hooks-0:1.2.0 100% | 802.8 KiB/s | 31.3 KiB | 00m00s [26/88] python3-httpcore-0:1.0.9-9.fc45 100% | 19.4 MiB/s | 159.2 KiB | 00m00s [27/88] python3-mypy_extensions-0:1.1.0 100% | 5.8 MiB/s | 17.9 KiB | 00m00s [28/88] python3-numpy-1:2.5.2-1.fc45.x8 100% | 32.8 MiB/s | 8.4 MiB | 00m00s [29/88] python3-argcomplete-0:3.6.3-7.f 100% | 10.6 MiB/s | 98.1 KiB | 00m00s [30/88] python3-attrs-0:26.1.0-4.fc45.n 100% | 19.6 MiB/s | 140.8 KiB | 00m00s [31/88] python3-colorlog-0:6.12.0-1.fc4 100% | 2.8 MiB/s | 28.4 KiB | 00m00s [32/88] python3-discovery-0:1.5.2-1.fc4 100% | 26.7 MiB/s | 109.5 KiB | 00m00s [33/88] black-0:26.5.1-2.fc46.noarch 100% | 3.9 MiB/s | 444.1 KiB | 00m00s [34/88] python3-platformdirs-0:4.9.1-4. 100% | 9.7 MiB/s | 59.9 KiB | 00m00s [35/88] python3-virtualenv-0:21.7.4-1.f 100% | 49.7 MiB/s | 305.5 KiB | 00m00s [36/88] python3-humanize-0:4.16.0-2.fc4 100% | 3.0 MiB/s | 92.8 KiB | 00m00s [37/88] python3-dependency-groups-0:1.3 100% | 675.7 KiB/s | 31.1 KiB | 00m00s [38/88] python3-Bottleneck-0:1.6.0-5.fc 100% | 35.3 MiB/s | 180.9 KiB | 00m00s [39/88] python3-numexpr-0:2.14.1-4.fc45 100% | 37.8 MiB/s | 232.4 KiB | 00m00s [40/88] python3-annotated-types-0:0.8.0 100% | 7.5 MiB/s | 30.6 KiB | 00m00s [41/88] python3-pydantic-core-0:2.46.4- 100% | 101.2 MiB/s | 1.7 MiB | 00m00s [42/88] python3-numpy-f2py-1:2.5.2-1.fc 100% | 12.0 MiB/s | 515.4 KiB | 00m00s [43/88] python3-typing-inspection-0:0.4 100% | 6.6 MiB/s | 33.8 KiB | 00m00s [44/88] python3-coverage+toml-0:7.15.4- 100% | 2.2 MiB/s | 9.1 KiB | 00m00s [45/88] python3-six-0:1.17.0-10.fc45.no 100% | 13.6 MiB/s | 41.8 KiB | 00m00s [46/88] libyaml-0:0.2.5-19.fc45.x86_64 100% | 20.3 MiB/s | 62.4 KiB | 00m00s [47/88] python3-keyring-0:25.7.0-9.fc45 100% | 23.9 MiB/s | 122.5 KiB | 00m00s [48/88] python3-readme-renderer-0:44.0- 100% | 1.4 MiB/s | 33.9 KiB | 00m00s [49/88] python3-requests-toolbelt-0:1.0 100% | 23.1 MiB/s | 118.2 KiB | 00m00s [50/88] python3-rfc3986-0:2.0.0-8.fc45. 100% | 11.2 MiB/s | 68.9 KiB | 00m00s [51/88] python3-rich-0:15.0.0-4.fc45.no 100% | 108.7 MiB/s | 667.7 KiB | 00m00s [52/88] llhttp-0:9.4.2-2.fc45.x86_64 100% | 12.5 MiB/s | 38.5 KiB | 00m00s [53/88] python3-id-0:1.6.1-3.fc45.noarc 100% | 550.5 KiB/s | 29.7 KiB | 00m00s [54/88] python3-aiohappyeyeballs-0:2.7. 100% | 10.7 MiB/s | 43.8 KiB | 00m00s [55/88] python3-aiosignal-0:1.4.0-9.fc4 100% | 9.6 MiB/s | 19.7 KiB | 00m00s [56/88] python3-frozenlist-0:1.8.0-9.fc 100% | 15.2 MiB/s | 62.4 KiB | 00m00s [57/88] python3-multidict-0:6.7.1-4.fc4 100% | 17.3 MiB/s | 88.6 KiB | 00m00s [58/88] python3-propcache-0:0.5.2-4.fc4 100% | 12.4 MiB/s | 63.3 KiB | 00m00s [59/88] python3-yarl-0:1.22.0-5.fc45.x8 100% | 23.5 MiB/s | 144.5 KiB | 00m00s [60/88] python3-click-1:8.4.2-1.fc45.no 100% | 71.2 MiB/s | 291.5 KiB | 00m00s [61/88] python3-pytokens-0:0.4.1-5.fc45 100% | 13.4 MiB/s | 41.2 KiB | 00m00s [62/88] python3-outcome-0:1.3.0.post0-8 100% | 8.1 MiB/s | 25.0 KiB | 00m00s [63/88] python3-sortedcontainers-0:2.4. 100% | 15.6 MiB/s | 63.9 KiB | 00m00s [64/88] python3-h11-0:0.16.0-8.fc45.noa 100% | 19.8 MiB/s | 81.2 KiB | 00m00s [65/88] python3-filelock-0:3.20.3-4.fc4 100% | 11.1 MiB/s | 45.6 KiB | 00m00s [66/88] python3-distlib-0:0.4.0-7.fc45. 100% | 52.9 MiB/s | 270.7 KiB | 00m00s [67/88] python-setuptools-wheel-0:83.0. 100% | 72.3 MiB/s | 888.0 KiB | 00m00s [68/88] flexiblas-0:3.5.0-3.fc45.x86_64 100% | 2.8 MiB/s | 22.7 KiB | 00m00s [69/88] flexiblas-openblas-openmp-0:3.5 100% | 3.2 MiB/s | 16.6 KiB | 00m00s [70/88] libgfortran-0:16.1.1-4.fc45.1.x 100% | 137.3 MiB/s | 984.1 KiB | 00m00s [71/88] libquadmath-0:16.1.1-4.fc45.1.x 100% | 39.9 MiB/s | 204.4 KiB | 00m00s [72/88] python3-jaraco-classes-0:3.4.0- 100% | 5.3 MiB/s | 21.8 KiB | 00m00s [73/88] python3-jaraco-context-0:6.1.0- 100% | 5.6 MiB/s | 23.1 KiB | 00m00s [74/88] python3-jaraco-functools-0:4.6. 100% | 4.5 MiB/s | 27.5 KiB | 00m00s [75/88] python3-jeepney-0:0.9.0-10.fc45 100% | 55.4 MiB/s | 340.1 KiB | 00m00s [76/88] python3-nh3-0:0.3.6-4.fc45.x86_ 100% | 70.9 MiB/s | 653.8 KiB | 00m00s [77/88] python3-markdown-it-py-0:4.2.0- 100% | 52.0 MiB/s | 213.0 KiB | 00m00s [78/88] less-0:704-4.fc46.x86_64 100% | 31.8 MiB/s | 228.0 KiB | 00m00s [79/88] python3-secretstorage-0:3.5.0-4 100% | 1.9 MiB/s | 47.0 KiB | 00m00s [80/88] python3-more-itertools-0:11.1.0 100% | 19.0 MiB/s | 135.9 KiB | 00m00s [81/88] flexiblas-netlib-0:3.5.0-3.fc45 100% | 19.8 MiB/s | 4.5 MiB | 00m00s [82/88] python3-cryptography-0:50.0.0-1 100% | 62.6 MiB/s | 1.9 MiB | 00m00s [83/88] python3-mdurl-0:0.1.2-16.fc45.n 100% | 3.4 MiB/s | 31.3 KiB | 00m00s [84/88] python3-cffi-0:2.1.1-1.fc46.x86 100% | 35.8 MiB/s | 329.8 KiB | 00m00s [85/88] python3-pycparser-0:3.00-4.fc45 100% | 14.0 MiB/s | 143.3 KiB | 00m00s [86/88] openblas-openmp-0:0.3.34-1.fc45 100% | 85.7 MiB/s | 5.5 MiB | 00m00s [87/88] openblas-0:0.3.34-1.fc45.x86_64 100% | 3.1 MiB/s | 48.2 KiB | 00m00s [88/88] python3-setuptools-0:83.0.0-2.f 100% | 73.7 MiB/s | 1.7 MiB | 00m00s -------------------------------------------------------------------------------- [88/88] Total 100% | 74.3 MiB/s | 50.6 MiB | 00m01s Running transaction [ 1/90] Verify package files 100% | 470.0 B/s | 88.0 B | 00m00s [ 2/90] Prepare transaction 100% | 1.1 KiB/s | 88.0 B | 00m00s [ 3/90] Installing python3-attrs-0:26.1 100% | 148.3 MiB/s | 455.7 KiB | 00m00s [ 4/90] Installing python3-typing-exten 100% | 271.9 MiB/s | 557.0 KiB | 00m00s [ 5/90] Installing python3-platformdirs 100% | 245.4 MiB/s | 251.3 KiB | 00m00s [ 6/90] Installing python3-certifi-0:20 100% | 11.0 MiB/s | 11.3 KiB | 00m00s [ 7/90] Installing python3-more-itertoo 100% | 308.6 MiB/s | 632.1 KiB | 00m00s [ 8/90] Installing python3-jeepney-0:0. 100% | 264.9 MiB/s | 1.9 MiB | 00m00s [ 9/90] Installing libgfortran-0:16.1.1 100% | 424.8 MiB/s | 3.4 MiB | 00m00s [10/90] Installing python3-filelock-0:3 100% | 105.9 MiB/s | 108.4 KiB | 00m00s [11/90] Installing python3-discovery-0: 100% | 168.3 MiB/s | 344.8 KiB | 00m00s [12/90] Installing python3-propcache-0: 100% | 156.1 MiB/s | 159.9 KiB | 00m00s [13/90] Installing python3-multidict-0: 100% | 335.4 MiB/s | 343.5 KiB | 00m00s [14/90] Installing python3-frozenlist-0 100% | 155.0 MiB/s | 158.8 KiB | 00m00s [15/90] Installing python3-mypy_extensi 100% | 32.6 MiB/s | 33.3 KiB | 00m00s [16/90] Installing python3-sniffio-0:1. 100% | 40.2 MiB/s | 41.1 KiB | 00m00s [17/90] Installing python3-anyio-0:4.14 100% | 280.7 MiB/s | 1.7 MiB | 00m00s [18/90] Installing python3-aiosignal-0: 100% | 27.3 MiB/s | 28.0 KiB | 00m00s [19/90] Installing python3-yarl-0:1.22. 100% | 272.9 MiB/s | 558.9 KiB | 00m00s [20/90] Installing python3-jaraco-class 100% | 44.9 MiB/s | 46.0 KiB | 00m00s [21/90] Installing python3-jaraco-funct 100% | 82.7 MiB/s | 84.7 KiB | 00m00s [22/90] Installing python3-pydantic-cor 100% | 381.4 MiB/s | 5.3 MiB | 00m00s [23/90] Installing python3-typing-inspe 100% | 95.7 MiB/s | 98.0 KiB | 00m00s [24/90] Installing python3-outcome-0:1. 100% | 22.2 MiB/s | 45.6 KiB | 00m00s [25/90] Installing python3-setuptools-0 100% | 257.0 MiB/s | 7.5 MiB | 00m00s [26/90] Installing python3-coverage-0:7 100% | 89.6 MiB/s | 2.2 MiB | 00m00s [27/90] Installing python3-coverage+tom 100% | 0.0 B/s | 124.0 B | 00m00s [28/90] Installing openblas-0:0.3.34-1. 100% | 136.6 MiB/s | 139.9 KiB | 00m00s [29/90] Installing openblas-openmp-0:0. 100% | 621.8 MiB/s | 44.8 MiB | 00m00s [30/90] Installing python3-pycparser-0: 100% | 226.3 MiB/s | 695.3 KiB | 00m00s [31/90] Installing python3-cffi-0:2.1.1 100% | 63.3 MiB/s | 1.4 MiB | 00m00s [32/90] Installing python3-cryptography 100% | 309.0 MiB/s | 7.1 MiB | 00m00s [33/90] Installing python3-secretstorag 100% | 136.4 MiB/s | 139.7 KiB | 00m00s [34/90] Installing python3-mdurl-0:0.1. 100% | 48.5 MiB/s | 49.7 KiB | 00m00s [35/90] Installing python3-markdown-it- 100% | 27.6 MiB/s | 621.1 KiB | 00m00s [36/90] Installing python3-rich-0:15.0. 100% | 320.4 MiB/s | 3.5 MiB | 00m00s [37/90] Installing less-0:704-4.fc46.x8 100% | 25.0 MiB/s | 487.3 KiB | 00m00s [38/90] Installing python3-click-1:8.4. 100% | 332.8 MiB/s | 1.3 MiB | 00m00s [39/90] Installing python3-nh3-0:0.3.6- 100% | 334.5 MiB/s | 2.0 MiB | 00m00s [40/90] Installing python3-readme-rende 100% | 57.7 MiB/s | 59.0 KiB | 00m00s [41/90] Installing python3-jaraco-conte 100% | 39.0 MiB/s | 40.0 KiB | 00m00s [42/90] Installing python3-keyring-0:25 100% | 16.9 MiB/s | 328.2 KiB | 00m00s [43/90] Installing libquadmath-0:16.1.1 100% | 315.6 MiB/s | 323.2 KiB | 00m00s [44/90] Installing flexiblas-netlib-0:3 100% | 296.8 MiB/s | 16.3 MiB | 00m00s [45/90] Installing flexiblas-0:3.5.0-3. 100% | 0.0 B/s | 39.2 KiB | 00m00s [46/90] Installing flexiblas-openblas-o 100% | 9.8 MiB/s | 40.0 KiB | 00m00s [47/90] Installing python3-numpy-1:2.5. 100% | 343.2 MiB/s | 43.2 MiB | 00m00s [48/90] Installing python3-numpy-f2py-1 100% | 81.3 MiB/s | 2.2 MiB | 00m00s [49/90] Installing python3-Bottleneck-0 100% | 145.8 MiB/s | 597.3 KiB | 00m00s [50/90] Installing python3-numexpr-0:2. 100% | 284.2 MiB/s | 873.0 KiB | 00m00s [51/90] Installing python3-distlib-0:0. 100% | 401.0 MiB/s | 1.2 MiB | 00m00s [52/90] Installing python-setuptools-wh 100% | 455.9 MiB/s | 933.7 KiB | 00m00s [53/90] Installing python3-virtualenv-0 100% | 34.5 MiB/s | 883.7 KiB | 00m00s [54/90] Installing python3-h11-0:0.16.0 100% | 143.3 MiB/s | 293.6 KiB | 00m00s [55/90] Installing python3-httpcore-0:1 100% | 220.1 MiB/s | 901.4 KiB | 00m00s [56/90] Installing python3-sortedcontai 100% | 129.6 MiB/s | 398.2 KiB | 00m00s [57/90] Installing python3-trio-0:0.33. 100% | 334.0 MiB/s | 6.7 MiB | 00m00s [58/90] Installing python3-pytokens-0:0 100% | 174.6 MiB/s | 178.8 KiB | 00m00s [59/90] Installing python3-aiohappyeyeb 100% | 91.6 MiB/s | 93.8 KiB | 00m00s [60/90] Installing llhttp-0:9.4.2-2.fc4 100% | 96.3 MiB/s | 98.6 KiB | 00m00s [61/90] Installing python3-rfc3986-0:2. 100% | 102.7 MiB/s | 210.3 KiB | 00m00s [62/90] Installing python3-requests-too 100% | 105.7 MiB/s | 324.7 KiB | 00m00s [63/90] Installing python3-id-0:1.6.1-3 100% | 71.4 MiB/s | 73.1 KiB | 00m00s [64/90] Installing libyaml-0:0.2.5-19.f 100% | 136.6 MiB/s | 139.9 KiB | 00m00s [65/90] Installing python3-six-0:1.17.0 100% | 117.6 MiB/s | 120.5 KiB | 00m00s [66/90] Installing python3-dateutil-1:2 100% | 290.8 MiB/s | 893.4 KiB | 00m00s [67/90] Installing python3-annotated-ty 100% | 84.9 MiB/s | 86.9 KiB | 00m00s [68/90] Installing python3-humanize-0:4 100% | 51.5 MiB/s | 263.7 KiB | 00m00s [69/90] Installing python3-dependency-g 100% | 2.7 MiB/s | 49.2 KiB | 00m00s [70/90] Installing python3-colorlog-0:6 100% | 63.7 MiB/s | 65.2 KiB | 00m00s [71/90] Installing python3-argcomplete- 100% | 18.5 MiB/s | 340.5 KiB | 00m00s [72/90] Installing python3-pyproject-ho 100% | 73.2 MiB/s | 75.0 KiB | 00m00s [73/90] Installing python3-build-0:1.5. 100% | 12.8 MiB/s | 236.2 KiB | 00m00s [74/90] Installing nox-0:2026.08.17-1.f 100% | 38.8 MiB/s | 794.9 KiB | 00m00s [75/90] Installing python3-pydantic-0:2 100% | 312.6 MiB/s | 5.3 MiB | 00m00s [76/90] Installing python3-pandas-0:3.0 100% | 411.7 MiB/s | 40.3 MiB | 00m00s [77/90] Installing python3-pyyaml-0:6.0 100% | 197.3 MiB/s | 808.2 KiB | 00m00s [78/90] Installing twine-0:7.0.0-1.fc46 100% | 16.6 MiB/s | 322.5 KiB | 00m00s [79/90] Installing python3-aiohttp-0:3. 100% | 374.8 MiB/s | 4.5 MiB | 00m00s [80/90] Installing black-0:26.5.1-2.fc4 100% | 97.6 MiB/s | 2.2 MiB | 00m00s [81/90] Installing python3-anyio+trio-0 100% | 0.0 B/s | 124.0 B | 00m00s [82/90] Installing python3-httpx-0:0.28 100% | 251.6 MiB/s | 1.0 MiB | 00m00s [83/90] Installing python3-pytest-cov-0 100% | 177.1 MiB/s | 181.4 KiB | 00m00s [84/90] Installing python3-elastic-tran 100% | 83.0 MiB/s | 510.0 KiB | 00m00s [85/90] Installing python3-mypy-0:1.18. 100% | 271.7 MiB/s | 24.2 MiB | 00m00s [86/90] Installing python3-tqdm-0:4.69. 100% | 29.6 MiB/s | 606.5 KiB | 00m00s [87/90] Installing python3-pytest-mock- 100% | 136.2 MiB/s | 139.5 KiB | 00m00s [88/90] Installing python3-pytest-async 100% | 170.9 MiB/s | 175.0 KiB | 00m00s [89/90] Installing python3-orjson-0:3.1 100% | 216.9 MiB/s | 666.4 KiB | 00m00s [90/90] Installing python3-isort-0:8.0. 100% | 10.2 MiB/s | 804.9 KiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.E5Fv5V + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + cd elasticsearch-py-9.4.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-dep-overrides -r -x dev Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.31.0) Handling anyio from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: anyio (installed: anyio 4.14.2) Handling elastic-transport<10,>=9.4.1 from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: elastic-transport<10,>=9.4.1 (installed: elastic-transport 9.4.1) Handling python-dateutil from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: python-dateutil (installed: python-dateutil 2.9.0.post0) Handling sniffio from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: sniffio (installed: sniffio 1.3.1) Handling typing-extensions from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: typing-extensions (installed: typing-extensions 4.16.0) Handling aiohttp<4,>=3; extra == 'async' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: aiohttp<4,>=3; extra == 'async' Handling aiohttp; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: aiohttp; extra == "dev" (installed: aiohttp 3.14.3) Handling anyio[trio]; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: anyio[trio]; extra == "dev" (installed: anyio 4.14.2) (extras are currently not checked) Handling black; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: black; extra == "dev" (installed: black 26.5.1) Handling build; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: build; extra == "dev" (installed: build 1.5.1) Handling coverage; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: coverage; extra == "dev" (installed: coverage 7.15.4) Handling httpx; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: httpx; extra == "dev" (installed: httpx 0.28.1) Handling isort; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: isort; extra == "dev" (installed: isort 8.0.1) Handling jinja2; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: jinja2; extra == "dev" (installed: jinja2 3.1.6) Handling mypy; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: mypy; extra == "dev" (installed: mypy 1.18.2) Handling nox; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: nox; extra == "dev" (installed: nox 2026.8.17) Handling numpy; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: numpy; extra == "dev" (installed: numpy 2.5.2) Handling orjson; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: orjson; extra == "dev" (installed: orjson 3.12.0) Handling pandas; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pandas; extra == "dev" (installed: pandas 3.0.5) Handling pyarrow; (python_version < '3.14') and extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: pyarrow; (python_version < '3.14') and extra == 'dev' Handling pydantic; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pydantic; extra == "dev" (installed: pydantic 2.13.4) Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest; extra == "dev" (installed: pytest 9.1.1) Handling pytest-asyncio; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest-asyncio; extra == "dev" (installed: pytest-asyncio 1.4.0) Handling pytest-cov; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest-cov; extra == "dev" (installed: pytest-cov 7.1.0) Handling pytest-mock; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest-mock; extra == "dev" (installed: pytest-mock 3.15.1) Handling python-dateutil; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: python-dateutil; extra == "dev" (installed: python-dateutil 2.9.0.post0) Handling pyyaml>=5.4; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pyyaml>=5.4; extra == "dev" (installed: pyyaml 6.0.3) Handling requests<3,>=2; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: requests<3,>=2; extra == "dev" (installed: requests 2.34.2) Handling tqdm; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: tqdm; extra == "dev" (installed: tqdm 4.69.0) Handling twine; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: twine; extra == "dev" (installed: twine 7.0.0) Handling sphinx; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinx-rtd-theme>=2.0; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx-rtd-theme>=2.0; extra == 'docs' Handling orjson>=3; extra == 'orjson' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: orjson>=3; extra == 'orjson' Handling pyarrow>=1; extra == 'pyarrow' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: pyarrow>=1; extra == 'pyarrow' Handling requests!=2.32.2,<3.0.0,>=2.4.0; extra == 'requests' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: requests!=2.32.2,<3.0.0,>=2.4.0; extra == 'requests' + cat /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires + rm -rfv elasticsearch-9.4.1.dist-info/ removed 'elasticsearch-9.4.1.dist-info/METADATA' removed directory 'elasticsearch-9.4.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 131.5 KiB/s | 19.1 KiB | 00m00s Copr repository 100% | 60.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.23.2-1.fc45.noarch" is already installed. Package "python3-devel-3.15.0~rc1-1.fc45.x86_64" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-sphinx_rtd_theme-3.1.0-5.fc45.noarch" is already installed. Package "python3-aiohttp-3.14.3-1.fc46.x86_64" is already installed. Package "python3-anyio-4.14.2-2.fc45.noarch" is already installed. Package "python3-anyio+trio-4.14.2-2.fc45.noarch" is already installed. Package "black-26.5.1-2.fc46.noarch" is already installed. Package "python3-build-1.5.1-1.fc46.noarch" is already installed. Package "python3-coverage-7.15.4-1.fc46.x86_64" is already installed. Package "python3-hatchling-1.31.0-2.fc45.noarch" is already installed. Package "python3-httpx-0.28.1-14.fc45.noarch" is already installed. Package "python3-isort-8.0.1-3.fc45.noarch" is already installed. Package "python3-jinja2-3.1.6-10.fc45.noarch" is already installed. Package "python3-mypy-1.18.2-6.fc45.noarch" is already installed. Package "nox-2026.08.17-1.fc46.noarch" is already installed. Package "python3-numpy-1:2.5.2-1.fc45.x86_64" is already installed. Package "python3-orjson-3.12.0-1.fc46.x86_64" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-pandas-3.0.5-4.fc45.x86_64" is already installed. Package "python3-pip-26.1.2-2.fc45.noarch" is already installed. Package "python3-pydantic-2.13.4-5.fc45.noarch" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-pytest-asyncio-1.4.0-4.fc45.noarch" is already installed. Package "python3-pytest-cov-7.1.0-4.fc45.noarch" is already installed. Package "python3-pytest-mock-3.15.1-4.fc45.noarch" is already installed. Package "python3-dateutil-1:2.9.0.post0-15.fc45.noarch" is already installed. Package "python3-pyyaml-6.0.3-6.fc45.x86_64" is already installed. Package "python3-sniffio-1.3.1-11.fc45.noarch" is already installed. Package "python3-tqdm-4.69.0-1.fc45.noarch" is already installed. Package "twine-7.0.0-1.fc46.noarch" is already installed. Package "python3-typing-extensions-4.16.0-2.fc45.noarch" is already installed. Nothing to do. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.C7pKsa + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + cd elasticsearch-py-9.4.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-dep-overrides -r -x dev Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.31.0) Handling anyio from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: anyio (installed: anyio 4.14.2) Handling elastic-transport<10,>=9.4.1 from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: elastic-transport<10,>=9.4.1 (installed: elastic-transport 9.4.1) Handling python-dateutil from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: python-dateutil (installed: python-dateutil 2.9.0.post0) Handling sniffio from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: sniffio (installed: sniffio 1.3.1) Handling typing-extensions from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: typing-extensions (installed: typing-extensions 4.16.0) Handling aiohttp<4,>=3; extra == 'async' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: aiohttp<4,>=3; extra == 'async' Handling aiohttp; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: aiohttp; extra == "dev" (installed: aiohttp 3.14.3) Handling anyio[trio]; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: anyio[trio]; extra == "dev" (installed: anyio 4.14.2) (extras are currently not checked) Handling black; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: black; extra == "dev" (installed: black 26.5.1) Handling build; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: build; extra == "dev" (installed: build 1.5.1) Handling coverage; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: coverage; extra == "dev" (installed: coverage 7.15.4) Handling httpx; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: httpx; extra == "dev" (installed: httpx 0.28.1) Handling isort; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: isort; extra == "dev" (installed: isort 8.0.1) Handling jinja2; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: jinja2; extra == "dev" (installed: jinja2 3.1.6) Handling mypy; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: mypy; extra == "dev" (installed: mypy 1.18.2) Handling nox; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: nox; extra == "dev" (installed: nox 2026.8.17) Handling numpy; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: numpy; extra == "dev" (installed: numpy 2.5.2) Handling orjson; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: orjson; extra == "dev" (installed: orjson 3.12.0) Handling pandas; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pandas; extra == "dev" (installed: pandas 3.0.5) Handling pyarrow; (python_version < '3.14') and extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: pyarrow; (python_version < '3.14') and extra == 'dev' Handling pydantic; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pydantic; extra == "dev" (installed: pydantic 2.13.4) Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest; extra == "dev" (installed: pytest 9.1.1) Handling pytest-asyncio; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest-asyncio; extra == "dev" (installed: pytest-asyncio 1.4.0) Handling pytest-cov; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest-cov; extra == "dev" (installed: pytest-cov 7.1.0) Handling pytest-mock; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pytest-mock; extra == "dev" (installed: pytest-mock 3.15.1) Handling python-dateutil; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: python-dateutil; extra == "dev" (installed: python-dateutil 2.9.0.post0) Handling pyyaml>=5.4; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: pyyaml>=5.4; extra == "dev" (installed: pyyaml 6.0.3) Handling requests<3,>=2; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: requests<3,>=2; extra == "dev" (installed: requests 2.34.2) Handling tqdm; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: tqdm; extra == "dev" (installed: tqdm 4.69.0) Handling twine; extra == 'dev' from hook generated metadata: Requires-Dist (elasticsearch) Requirement satisfied: twine; extra == "dev" (installed: twine 7.0.0) Handling sphinx; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinx-rtd-theme>=2.0; extra == 'docs' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: sphinx-rtd-theme>=2.0; extra == 'docs' Handling orjson>=3; extra == 'orjson' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: orjson>=3; extra == 'orjson' Handling pyarrow>=1; extra == 'pyarrow' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: pyarrow>=1; extra == 'pyarrow' Handling requests!=2.32.2,<3.0.0,>=2.4.0; extra == 'requests' from hook generated metadata: Requires-Dist (elasticsearch) Ignoring alien requirement: requests!=2.32.2,<3.0.0,>=2.4.0; extra == 'requests' + cat /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-buildrequires + rm -rfv elasticsearch-9.4.1.dist-info/ removed 'elasticsearch-9.4.1.dist-info/METADATA' removed directory 'elasticsearch-9.4.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ySoPpC + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd elasticsearch-py-9.4.1 + mkdir -p /builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir Processing ./. Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: elasticsearch Building wheel for elasticsearch (pyproject.toml): started Running command Building wheel for elasticsearch (pyproject.toml) Building wheel for elasticsearch (pyproject.toml): finished with status 'done' Created wheel for elasticsearch: filename=elasticsearch-9.4.1-py3-none-any.whl size=989384 sha256=bd2195f35652c271bc368cde5f36867ec374423e8781c5aa6dfdc4cad1c8e33a Stored in directory: /builddir/.cache/pip/wheels/e8/1b/1b/1c07f2f611749cb66984d63ce6561fd404a840574dc8b7a54b Successfully built elasticsearch + PYTHONPATH=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1 + sphinx-build-3 docs/sphinx html Running Sphinx v9.1.0 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... loading intersphinx inventory 'elastic-transport' from https://elastic-transport-python.readthedocs.io/en/latest/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NameResolutionError("HTTPSConnection(host='docs.python.org', port=443): Failed to resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://elastic-transport-python.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='elastic-transport-python.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NameResolutionError("HTTPSConnection(host='elastic-transport-python.readthedocs.io', port=443): Failed to resolve 'elastic-transport-python.readthedocs.io' ([Errno -3] Temporary failure in name resolution)")) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 52 source files that are out of date updating environment: [new config] 52 added, 0 changed, 0 removed reading sources... [ 2%] api/async-search reading sources... [ 4%] api/autoscaling reading sources... [ 6%] api/cat reading sources... [ 8%] api/ccr reading sources... [ 10%] api/cluster reading sources... [ 12%] api/connector reading sources... [ 13%] api/dangling-indices reading sources... [ 15%] api/elasticsearch reading sources... [ 17%] api/enrich-policies reading sources... [ 19%] api/eql reading sources... [ 21%] api/esql reading sources... [ 23%] api/fleet reading sources... [ 25%] api/graph-explore reading sources... [ 27%] api/index-lifecycle-management reading sources... [ 29%] api/indices reading sources... [ 31%] api/inference reading sources... [ 33%] api/ingest-pipelines reading sources... [ 35%] api/license reading sources... [ 37%] api/logstash reading sources... [ 38%] api/migration reading sources... [ 40%] api/ml reading sources... [ 42%] api/monitoring reading sources... [ 44%] api/nodes reading sources... [ 46%] api/project reading sources... [ 48%] api/query-rules reading sources... [ 50%] api/rollup-indices reading sources... [ 52%] api/search-application reading sources... [ 54%] api/searchable-snapshots reading sources... [ 56%] api/security reading sources... [ 58%] api/shutdown reading sources... [ 60%] api/simulate reading sources... [ 62%] api/snapshot-lifecycle-management reading sources... [ 63%] api/snapshots reading sources... [ 65%] api/snapshottable-features reading sources... [ 67%] api/sql reading sources... [ 69%] api/streams reading sources... [ 71%] api/synonyms reading sources... [ 73%] api/tasks reading sources... [ 75%] api/text-structure reading sources... [ 77%] api/tls-ssl reading sources... [ 79%] api/transforms reading sources... [ 81%] api/watcher reading sources... [ 83%] api/x-pack reading sources... [ 85%] api_helpers reading sources... [ 87%] async_api_helpers reading sources... [ 88%] async_dsl reading sources... [ 90%] async_es_api reading sources... [ 92%] dsl reading sources... [ 94%] es_api reading sources... [ 96%] esql reading sources... [ 98%] exceptions reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/html/_static/language_data.js Writing evaluated template result to /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/html/_static/documentation_options.js Writing evaluated template result to /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/html/_static/basic.css Writing evaluated template result to /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/html/_static/js/versions.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 2%] api/async-search writing output... [ 4%] api/autoscaling writing output... [ 6%] api/cat writing output... [ 8%] api/ccr writing output... [ 10%] api/cluster writing output... [ 12%] api/connector writing output... [ 13%] api/dangling-indices writing output... [ 15%] api/elasticsearch writing output... [ 17%] api/enrich-policies writing output... [ 19%] api/eql writing output... [ 21%] api/esql writing output... [ 23%] api/fleet writing output... [ 25%] api/graph-explore writing output... [ 27%] api/index-lifecycle-management writing output... [ 29%] api/indices writing output... [ 31%] api/inference writing output... [ 33%] api/ingest-pipelines writing output... [ 35%] api/license writing output... [ 37%] api/logstash writing output... [ 38%] api/migration writing output... [ 40%] api/ml writing output... [ 42%] api/monitoring writing output... [ 44%] api/nodes writing output... [ 46%] api/project writing output... [ 48%] api/query-rules writing output... [ 50%] api/rollup-indices writing output... [ 52%] api/search-application writing output... [ 54%] api/searchable-snapshots writing output... [ 56%] api/security writing output... [ 58%] api/shutdown writing output... [ 60%] api/simulate writing output... [ 62%] api/snapshot-lifecycle-management writing output... [ 63%] api/snapshots writing output... [ 65%] api/snapshottable-features writing output... [ 67%] api/sql writing output... [ 69%] api/streams writing output... [ 71%] api/synonyms writing output... [ 73%] api/tasks writing output... [ 75%] api/text-structure writing output... [ 77%] api/tls-ssl writing output... [ 79%] api/transforms writing output... [ 81%] api/watcher writing output... [ 83%] api/x-pack writing output... [ 85%] api_helpers writing output... [ 87%] async_api_helpers writing output... [ 88%] async_dsl writing output... [ 90%] async_es_api writing output... [ 92%] dsl writing output... [ 94%] es_api writing output... [ 96%] esql writing output... [ 98%] exceptions writing output... [100%] index generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UyTi6Z + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + '[' /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-elasticsearch-9.4.1-build + mkdir /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd elasticsearch-py-9.4.1 ++ ls /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir/elasticsearch-9.4.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=elasticsearch==9.4.1 + '[' -z elasticsearch==9.4.1 ']' + PIP_CONFIG_FILE=/dev/null + TMPDIR=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir elasticsearch==9.4.1 Using pip 26.1.2 from /usr/lib/python3.15/site-packages/pip (python 3.15) Looking in links: /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir Processing /builddir/build/BUILD/python-elasticsearch-9.4.1-build/pyproject-wheeldir/elasticsearch-9.4.1-py3-none-any.whl Installing collected packages: elasticsearch Successfully installed elasticsearch-9.4.1 + '[' -d /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + site_dirs+=("/usr/lib/python3.15/site-packages") + '[' /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib64/python3.15/site-packages '!=' /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + '[' -d /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib64/python3.15/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost %dir /usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info' +++ basename /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info ++ PYTHONPATH=/usr/lib/rpm/redhat ++ /usr/bin/python3 -sBc 'import sys; from pyproject_save_files import canonical_name_from_distinfo; print(canonical_name_from_distinfo(sys.argv[1]))' elasticsearch-9.4.1.dist-info + _normalized=elasticsearch + echo '%ghost %dir /usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT --record /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info/RECORD --output /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info/RECORD removed '/builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info/REQUESTED removed '/builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch-9.4.1.dist-info/REQUESTED' + '[' -f /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-dep-overrides ']' ++ wc -l /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT --sitelib /usr/lib/python3.15/site-packages --sitearch /usr/lib64/python3.15/site-packages --python-version 3.15 --pyproject-record /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.x86_64-pyproject-record --prefix /usr elasticsearch + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j4 /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/client.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/_version.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/_utils.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/compat.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/exceptions.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/_otel.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/_otel.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/__pycache__/serializer.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/__pycache__/_utils.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/__pycache__/errors.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_sync/__pycache__/embedding_service.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_sync/__pycache__/_utils.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_sync/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_sync/__pycache__/vectorstore.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_async/__pycache__/vectorstore.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/__pycache__/actions.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_async/__pycache__/_utils.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_async/__pycache__/embedding_service.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_async/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_sync/__pycache__/strategies.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/esql/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/update_by_query.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/helpers/vectorstore/_async/__pycache__/strategies.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/index_base.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/index.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/function.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/esql/__pycache__/functions.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/esql/__pycache__/esql.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/wrappers.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/serializer.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/utils.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/search_base.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/update_by_query_base.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/field.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/search.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/faceted_search_base.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/pydantic.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/faceted_search.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/exceptions.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/mapping_base.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/query.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/mapping.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/document.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/connections.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/async_connections.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/analysis.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/response/__pycache__/hit.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/response/__pycache__/aggs.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/document_base.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/response/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/update_by_query.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/update_by_query.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/aggs.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/search.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/faceted_search.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/index.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/mapping.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/search.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/update_by_query.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/document.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/update_by_query.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_sync/__pycache__/document.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/mapping.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/search.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/__pycache__/types.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/faceted_search.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/search.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/xpack.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/document.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/document.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/watcher.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/utils.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/_async/__pycache__/index.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/utils.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/simulate.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/project.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/shutdown.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/transform.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/nodes.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/monitoring.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/text_structure.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/tasks.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/synonyms.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/inference.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/streams.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/ssl.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/sql.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/snapshot.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/slm.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/search_application.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/security.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/ml.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/rollup.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/searchable_snapshots.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/_base.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/query_rules.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/_base.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/project_routing.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/migration.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/logstash.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/license.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/ccr.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/ingest.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/indices.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/enrich.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/dangling_indices.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/ilm.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/graph.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/fleet.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/features.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/esql.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/cat.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/cluster.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/connector.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/autoscaling.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/eql.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/xpack.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/__pycache__/helpers.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__pycache__/async_search.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/project.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/slm.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/simulate.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/watcher.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/utils.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/shutdown.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/monitoring.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/nodes.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/transform.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/text_structure.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/tasks.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/synonyms.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/inference.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/streams.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/ssl.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/sql.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/snapshot.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/searchable_snapshots.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/search_application.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/_base.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/security.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/rollup.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/_base.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/ml.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/migration.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/logstash.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/query_rules.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/license.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/ingest.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/ccr.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/enrich.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/dangling_indices.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/indices.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/ilm.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/graph.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/connector.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/fleet.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/features.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/cat.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/autoscaling.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/cluster.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/esql.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/eql.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/async_search.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents Scanned 35 directories and 495 files, processed 173 inodes, 173 modified (20 replaced + 153 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr Scanned 34 directories and 495 files, considered 495 files, read 13 files, linked 5 files, 0 errors sum of sizes of linked files: 3935 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nZjvKf + umask 022 + cd /builddir/build/BUILD/python-elasticsearch-9.4.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd elasticsearch-py-9.4.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib64/python3.15/site-packages:/builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-elasticsearch-9.4.1-build/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.15.0rc1, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1 configfile: pyproject.toml plugins: asyncio-1.4.0, mock-3.15.1, cov-7.1.0, anyio-4.14.2 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 1437 items test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[asyncio-kwargs0] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[asyncio-kwargs1] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_string_body[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_bytestring_body[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[trio-kwargs0] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[trio-kwargs1] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_string_body[trio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_bytestring_body[trio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_actions_remain_unchanged[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_documents_get_inserted[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_documents_data_types[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_explicit_flushes[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_timeout_flushes[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_errors_from_chunk_are_raised_on_failure[asyncio] ERROR [ 0%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_different_op_types[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_can_becaught[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried_at_most_max_retries_times[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_is_raised_with_max_retries[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_connection_timeout_is_retried_with_retry_status_callback[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_bulk_works_with_single_item[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_all_documents_get_inserted[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_stats_only_reports_numbers[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_reported_correctly[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_error_is_raised[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_ignore_error_if_raised[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_collected_properly[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_order_can_be_preserved[asyncio] ERROR [ 1%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_all_documents_are_read[asyncio] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scroll_error[asyncio] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_initial_search_error[asyncio] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_no_scroll_id_fast_route[asyncio] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_logger[asyncio] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_clear_scroll[asyncio] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[asyncio-kwargs0] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[asyncio-kwargs1] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[asyncio-kwargs2] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_favor_scroll_kwargs_option[asyncio] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs0] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs1] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs2] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs3] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs4] ERROR [ 2%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs5] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_passes_kwargs_to_scan_and_bulk[asyncio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_accepts_a_query[asyncio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_all_documents_get_moved[asyncio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestParentChildReindex::test_children_are_reindexed_correctly[asyncio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[asyncio-None] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[asyncio-create] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream_op_type_index[asyncio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_actions_remain_unchanged[trio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_documents_get_inserted[trio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_documents_data_types[trio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_explicit_flushes[trio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_timeout_flushes[trio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_errors_from_chunk_are_raised_on_failure[trio] ERROR [ 3%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_different_op_types[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_can_becaught[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried_at_most_max_retries_times[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_is_raised_with_max_retries[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_connection_timeout_is_retried_with_retry_status_callback[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_bulk_works_with_single_item[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_all_documents_get_inserted[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_stats_only_reports_numbers[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_reported_correctly[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_error_is_raised[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_ignore_error_if_raised[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_collected_properly[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_order_can_be_preserved[trio] ERROR [ 4%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_all_documents_are_read[trio] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scroll_error[trio] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_initial_search_error[trio] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_no_scroll_id_fast_route[trio] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_logger[trio] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_clear_scroll[trio] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[trio-kwargs0] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[trio-kwargs1] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[trio-kwargs2] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_favor_scroll_kwargs_option[trio] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs0] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs1] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs2] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs3] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs4] ERROR [ 5%] test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs5] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_passes_kwargs_to_scan_and_bulk[trio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_accepts_a_query[trio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_all_documents_get_moved[trio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_helpers.py::TestParentChildReindex::test_children_are_reindexed_correctly[trio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[trio-None] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[trio-create] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream_op_type_index[trio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_error[asyncio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_response[asyncio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_error[trio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_response[trio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_documents[asyncio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_query[asyncio] ERROR [ 6%] test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_user_agent_default[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_documents[trio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_query[trio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_user_agent_default[trio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata_async[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_add_vectors[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_metadata[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_filter[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_with_filter[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_distance_dot_product[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search_rrf[asyncio] ERROR [ 7%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_custom_query_fn[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_knn_infer_instack[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_sparse_infer_instack[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_deployed_model_check_fails_semantic[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25_with_filter[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_delete[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_indexing_exception_error[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_default[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_custom[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_bulk_args[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search_errors[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_metadata_mapping[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings[asyncio] ERROR [ 8%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings_with_collision[asyncio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata_async[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_add_vectors[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_metadata[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_filter[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_with_filter[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_distance_dot_product[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search_rrf[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_custom_query_fn[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_knn_infer_instack[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_sparse_infer_instack[trio] ERROR [ 9%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_deployed_model_check_fails_semantic[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25_with_filter[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_delete[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_indexing_exception_error[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_default[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_custom[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_bulk_args[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search_errors[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_metadata_mapping[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings[trio] ERROR [ 10%] test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings_with_collision[trio] ERROR [ 10%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed[asyncio] PASSED [ 10%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_opaque_id[asyncio] PASSED [ 10%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_custom_user_agent_header[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header_not_sent[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_body_surrogates_replaced_encoded_into_bytes[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_will_fail_after_x_retries[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_backoff_retries[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_failed_connection_will_be_marked_as_dead[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_resurrected_connection_will_be_marked_as_live_on_success[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_override_mark_dead_mark_live[asyncio] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error[asyncio-headers0] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error[asyncio-headers1] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[asyncio-401] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[asyncio-403] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[asyncio-413] PASSED [ 11%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[asyncio-500] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::test_api_error_raised_before_product_error[asyncio-404] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::test_api_error_raised_before_product_error[asyncio-500] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::test_warning_header[asyncio-headers0] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::test_warning_header[asyncio-headers1] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_default_stack_mode_sends_compat_headers[asyncio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_sends_api_version_header_on_get[asyncio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_sends_plain_headers_on_post[asyncio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_preserved_in_options[asyncio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_inherited_by_namespaces[asyncio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed[trio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_opaque_id[trio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_custom_user_agent_header[trio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header[trio] PASSED [ 12%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header_not_sent[trio] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_body_surrogates_replaced_encoded_into_bytes[trio] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_will_fail_after_x_retries[trio] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_backoff_retries[trio] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_failed_connection_will_be_marked_as_dead[trio] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_resurrected_connection_will_be_marked_as_live_on_success[trio] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_override_mark_dead_mark_live[trio] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error[trio-headers0] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error[trio-headers1] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[trio-401] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[trio-403] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[trio-413] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[trio-500] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_api_error_raised_before_product_error[trio-404] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_api_error_raised_before_product_error[trio-500] PASSED [ 13%] test_elasticsearch/test_async/test_transport.py::test_warning_header[trio-headers0] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::test_warning_header[trio-headers1] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_default_stack_mode_sends_compat_headers[trio] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_sends_api_version_header_on_get[trio] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_sends_plain_headers_on_post[trio] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_preserved_in_options[trio] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_inherited_by_namespaces[trio] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestTransport::test_kwargs_passed_on_to_node_pool PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_will_use_seed_connections[{\n "_nodes" : {\n "total" : 1,\n "successful" : 1,\n "failed" : 0\n },\n "cluster_name" : "elasticsearch",\n "nodes" : {\n "SRZpKFZdQguhhvifmN6UVA" : {\n "name" : "SRZpKFZ",\n "transport_address" : "127.0.0.1:9300",\n "host" : "127.0.0.1",\n "ip" : "127.0.0.1",\n "version" : "5.0.0",\n "build_hash" : "253032b",\n "roles" : [ "master", "data", "ingest" ],\n "http" : {\n "bound_address" : [ "[fe80::1]:9200", "[::1]:9200", "127.0.0.1:9200" ],\n "publish_address" : "1.1.1.1:123",\n "max_content_length_in_bytes" : 104857600\n }\n }\n }\n}-1.1.1.1] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_will_use_seed_connections[{\n "_nodes" : {\n "total" : 1,\n "successful" : 1,\n "failed" : 0\n },\n "cluster_name" : "elasticsearch",\n "nodes" : {\n "SRZpKFZdQguhhvifmN6UVA" : {\n "name" : "SRZpKFZ",\n "transport_address" : "127.0.0.1:9300",\n "host" : "127.0.0.1",\n "ip" : "127.0.0.1",\n "version" : "5.0.0",\n "build_hash" : "253032b",\n "roles" : [ "master", "data", "ingest" ],\n "http" : {\n "bound_address" : [ "[fe80::1]:9200", "[::1]:9200", "127.0.0.1:9200" ],\n "publish_address" : "somehost.tld/1.1.1.1:123",\n "max_content_length_in_bytes" : 104857600\n }\n }\n }\n}-somehost.tld] PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_on_start_ignores_sniff_timeout PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_uses_sniff_timeout PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_on_start_awaits_before_request PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_reuses_node_instances PASSED [ 14%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_on_node_failure_triggers[exception-extra_value0] PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_on_node_failure_triggers[status-500] PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_after_n_seconds PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniffing_disabled_on_elastic_cloud[kwargs0] PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniffing_disabled_on_elastic_cloud[kwargs1] PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniffing_disabled_on_elastic_cloud[kwargs2] PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniffing_disabled_on_elastic_cloud[kwargs3] PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_on_start_close_unlocks_async_calls PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniffing_master_only_filtered_by_default PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestSniffing::test_sniff_node_callback PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_invalid_server_mode_raises_error PASSED [ 15%] test_elasticsearch/test_async/test_transport.py::TestServerMode::test_serverless_mode_with_sniffing_raises_error PASSED [ 15%] test_elasticsearch/test_client/test_cluster.py::TestCluster::test_stats_without_node_id PASSED [ 15%] test_elasticsearch/test_client/test_cluster.py::TestCluster::test_stats_with_node_id PASSED [ 15%] test_elasticsearch/test_client/test_cluster.py::TestCluster::test_state_with_index_without_metric_defaults_to_all PASSED [ 16%] test_elasticsearch/test_client/test_deprecated_options.py::test_http_auth PASSED [ 16%] test_elasticsearch/test_client/test_indices.py::TestIndices::test_create_one_index PASSED [ 16%] test_elasticsearch/test_client/test_indices.py::TestIndices::test_delete_multiple_indices PASSED [ 16%] test_elasticsearch/test_client/test_indices.py::TestIndices::test_exists_index PASSED [ 16%] test_elasticsearch/test_client/test_indices.py::TestIndices::test_passing_empty_value_for_required_param_raises_exception PASSED [ 16%] test_elasticsearch/test_client/test_indices.py::TestIndices::test_query_params PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options0-headers0] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options1-headers1] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options2-headers2] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options3-headers3] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options4-headers4] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options5-headers5] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options6-headers6] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_to_headers[options7-headers7] PASSED [ 16%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-None-None-None] SKIPPED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-None-None-api-key] SKIPPED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-None-None-api_key2] SKIPPED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-None-bearer-None] SKIPPED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-None-bearer-api-key] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-None-bearer-api_key2] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-user:pass-None-None] SKIPPED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-user:pass-None-api-key] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-user:pass-None-api_key2] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-user:pass-bearer-None] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-user:pass-bearer-api-key] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-user:pass-bearer-api_key2] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-basic_auth2-None-None] SKIPPED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-basic_auth2-None-api-key] PASSED [ 17%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-basic_auth2-None-api_key2] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-basic_auth2-bearer-None] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-basic_auth2-bearer-api-key] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[None-basic_auth2-bearer-api_key2] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-None-None-None] SKIPPED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-None-None-api-key] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-None-None-api_key2] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-None-bearer-None] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-None-bearer-api-key] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-None-bearer-api_key2] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-user:pass-None-None] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-user:pass-None-api-key] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-user:pass-None-api_key2] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-user:pass-bearer-None] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-user:pass-bearer-api-key] PASSED [ 18%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-user:pass-bearer-api_key2] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-basic_auth2-None-None] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-basic_auth2-None-api-key] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-basic_auth2-None-api_key2] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-basic_auth2-bearer-None] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-basic_auth2-bearer-api-key] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers1-basic_auth2-bearer-api_key2] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-None-None-None] SKIPPED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-None-None-api-key] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-None-None-api_key2] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-None-bearer-None] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-None-bearer-api-key] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-None-bearer-api_key2] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-user:pass-None-None] PASSED [ 19%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-user:pass-None-api-key] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-user:pass-None-api_key2] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-user:pass-bearer-None] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-user:pass-bearer-api-key] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-user:pass-bearer-api_key2] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-basic_auth2-None-None] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-basic_auth2-None-api-key] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-basic_auth2-None-api_key2] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-basic_auth2-bearer-None] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-basic_auth2-bearer-api-key] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_auth_conflicts[headers2-basic_auth2-bearer-api_key2] PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_passed_to_perform_request PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_passed_to_async_perform_request PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_default_node_configs PASSED [ 20%] test_elasticsearch/test_client/test_options.py::TestOptions::test_http_headers_overrides PASSED [ 21%] test_elasticsearch/test_client/test_options.py::TestOptions::test_user_agent_override PASSED [ 21%] test_elasticsearch/test_client/test_options.py::TestOptions::test_options_timeout_parameters PASSED [ 21%] test_elasticsearch/test_client/test_options.py::TestOptions::test_serializer_and_serializers PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_create PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_delete PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_index PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_update PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_cluster_state PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_cluster_stats PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_index_uses_post_if_id_is_empty PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_index_uses_put_if_id_is_not_empty PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_from_in_search[from] PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_from_in_search[from_] PASSED [ 21%] test_elasticsearch/test_client/test_overrides.py::TestOverriddenUrlTargets::test_sort_in_search PASSED [ 21%] test_elasticsearch/test_client/test_requests_auth.py::test_requests_auth[requests] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_requests_auth[RequestsHttpNode] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_requests_auth[CustomRequestHttpNode] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[urllib3-Elasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[urllib3-AsyncElasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[aiohttp-Elasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[aiohttp-AsyncElasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[None-Elasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[None-AsyncElasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[-Elasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[-AsyncElasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[CustomUrllib3HttpNode-Elasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_node_class[CustomUrllib3HttpNode-AsyncElasticsearch] PASSED [ 22%] test_elasticsearch/test_client/test_requests_auth.py::test_error_for_requests_auth_async PASSED [ 22%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_default PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_default_params_conflict PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_body_name_using_body PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_body_name PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_body_name_duplicate PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_body_fields PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_error_on_body_merge[{"query": {"match_all": {}}}-kwargs0] PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_error_on_body_merge[{"query": {"match_all": {}}}-kwargs1] PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_error_on_params_merge[{"query": {"match_all": {}}}0] PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_error_on_params_merge[{"query": {"match_all": {}}}1] PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_body_fields_merge PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_body_fields_conflict PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_ignore_deprecated_options PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_parameter_aliases PASSED [ 23%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_parameter_aliases_body PASSED [ 24%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_parameter_aliases_body_param PASSED [ 24%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_positional_argument_error[Elasticsearch] FAILED [ 24%] test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_positional_argument_error[AsyncElasticsearch] FAILED [ 24%] test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_mode_on_by_default PASSED [ 24%] test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_non_compat[json] FAILED [ 24%] test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_non_compat[x-ndjson] FAILED [ 24%] test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_compat[json] FAILED [ 24%] test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_compat[x-ndjson] FAILED [ 24%] test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializer_used_when_given_non_compat FAILED [ 24%] test_elasticsearch/test_client/test_utils.py::test_handles_ascii PASSED [ 24%] test_elasticsearch/test_client/test_utils.py::test_handles_bytestring PASSED [ 24%] test_elasticsearch/test_client/test_utils.py::test_handles_unicode PASSED [ 24%] test_elasticsearch/test_client/test_utils.py::test_handles_unicode2 PASSED [ 24%] test_elasticsearch/test_client/test_utils.py::TestAvailabilityWarning::test_default PASSED [ 24%] test_elasticsearch/test_client/test_utils.py::TestAvailabilityWarning::test_beta PASSED [ 25%] test_elasticsearch/test_client/test_utils.py::TestAvailabilityWarning::test_experimental PASSED [ 25%] test_elasticsearch/test_client/test_utils.py::TestAvailabilityWarning::test_private PASSED [ 25%] test_elasticsearch/test_client/test_utils.py::TestAvailabilityWarning::test_private_and_beta PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_range_serializes_properly PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_range_deserializes_properly PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_resolve_nested PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_conflicting_mapping_raises_error_in_index_to_dict PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_ip_address_serializes_properly PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_matches_uses_index PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_matches_with_no_name_always_matches PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_matches_accepts_wildcards PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_assigning_attrlist_to_field PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_optional_inner_objects_are_not_validated_if_missing PASSED [ 25%] test_elasticsearch/test_dsl/_async/test_document.py::test_custom_field PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_custom_field_mapping PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_custom_field_in_nested PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_multi_works_after_doc_has_been_saved PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_multi_works_in_nested_after_doc_has_been_serialized PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_null_value_for_object PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_inherited_doc_types_can_override_index PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_to_dict_with_meta PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_to_dict_with_meta_includes_custom_index PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_to_dict_without_skip_empty_will_include_empty_fields PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_attribute_can_be_removed PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_doc_type_can_be_correctly_pickled PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_meta_is_accessible_even_on_empty_doc PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_meta_field_mapping PASSED [ 26%] test_elasticsearch/test_dsl/_async/test_document.py::test_multi_value_fields PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_docs_with_properties PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_docs_with_name_collisions PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_nested_can_be_assigned_to PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_nested_can_be_none PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_nested_defaults_to_list_and_can_be_updated PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_to_dict_is_recursive_and_can_cope_with_multi_values PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_to_dict_ignores_empty_collections PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_declarative_mapping_definition PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_you_can_supply_own_mapping_instance PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_document_can_be_created_dynamically PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_invalid_date_will_raise_exception PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_document_inheritance PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_child_class_can_override_parent PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_meta_fields_are_stored_in_meta_and_ignored_by_to_dict PASSED [ 27%] test_elasticsearch/test_dsl/_async/test_document.py::test_index_inheritance PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_meta_fields_can_be_set_directly_in_init PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_save_no_index[asyncio] PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_delete_no_index[asyncio] PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_update_no_fields[asyncio] PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_save_no_index[trio] PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_delete_no_index[trio] PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_update_no_fields[trio] PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_search_with_custom_alias_and_index PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_from_es_respects_underscored_non_meta_fields PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_nested_and_object_inner_doc PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_doc_with_type_hints PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_doc_with_pipe_type_hints PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_instrumented_field PASSED [ 28%] test_elasticsearch/test_dsl/_async/test_document.py::test_pydantic_integration PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_document.py::test_renamed_fields PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_query_is_created_properly PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_query_is_created_properly_with_sort_tuple PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_filter_is_applied_to_search_but_not_relevant_facet PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_filters_are_applied_to_search_ant_relevant_facets PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_facet_with_1970_01_01_date PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-year] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-year] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-month] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-month] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-week] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-week] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-day] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-day] PASSED [ 29%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-day] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-hour] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-hour] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-1Y] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1Y] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-1M] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1M] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-1w] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1w] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-1d] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1d] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-1d] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[interval-1h] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-1h] PASSED [ 30%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_no_interval_keyerror PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_params_added_to_search PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_multiple_doc_types_will_combine_mappings PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_search_is_limited_to_index_name PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_cloned_index_has_copied_settings_and_using PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_cloned_index_has_analysis_attribute PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_settings_are_saved PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_registered_doc_type_included_in_to_dict PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_registered_doc_type_included_in_search PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_aliases_add_to_object PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_aliases_returned_from_to_dict PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_analyzers_added_to_object PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_analyzers_returned_from_to_dict PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_conflicting_analyzer_raises_error PASSED [ 31%] test_elasticsearch/test_dsl/_async/test_index.py::test_index_template_can_have_order PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_index.py::test_index_template_save_result[asyncio] PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_index.py::test_index_template_save_result[trio] PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_mapping_can_has_fields PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_mapping_update_is_recursive PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_properties_can_iterate_over_all_the_fields PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_mapping_can_collect_all_analyzers_and_normalizers PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_mapping_can_collect_multiple_analyzers PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_even_non_custom_analyzers_can_have_params PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_resolve_field_can_resolve_multifields PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_mapping.py::test_resolve_nested PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_search.py::test_expand__to_dot_is_respected PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_search.py::test_execute_uses_cache[asyncio] PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_search.py::test_cache_can_be_ignored[asyncio] PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_search.py::test_iter_iterates_over_hits[asyncio] PASSED [ 32%] test_elasticsearch/test_dsl/_async/test_search.py::test_params_being_passed_to_search[asyncio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_delete_by_query[asyncio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_empty_search[asyncio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_execute_uses_cache[trio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_cache_can_be_ignored[trio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_iter_iterates_over_hits[trio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_params_being_passed_to_search[trio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_delete_by_query[trio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_empty_search[trio] PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_cache_isnt_cloned PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_search_starts_with_no_query PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_search_query_combines_query PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_query_can_be_assigned_to PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_query_can_be_wrapped PASSED [ 33%] test_elasticsearch/test_dsl/_async/test_search.py::test_using PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_methods_are_proxied_to_the_query PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_query_always_returns_search PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_source_copied_on_clone PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_copy_clones PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_aggs_allow_two_metric PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_aggs_get_copied_on_change PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_search_index PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_doc_type_document_class PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_knn PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_rank PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_sort PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_sort_by_score PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_collapse PASSED [ 34%] test_elasticsearch/test_dsl/_async/test_search.py::test_slice PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_index PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_search_to_dict PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_complex_example PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_reverse PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_code_generated_classes PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_from_dict_doesnt_need_query PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_source PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_source_on_clone PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_source_on_clear PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_suggest_accepts_global_text PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_suggest PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_exclude PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_update_from_dict PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_rescore_query_to_dict PASSED [ 35%] test_elasticsearch/test_dsl/_async/test_search.py::test_suggest_completion PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_search.py::test_suggest_regex_query PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_search.py::test_suggest_must_pass_text_or_regex PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_search.py::test_suggest_can_only_pass_text_or_regex PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_search.py::test_suggest_regex_must_be_wtih_completion PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_ubq_starts_with_no_query PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_ubq_to_dict PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_complex_example PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_exclude PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_reverse PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_from_dict_doesnt_need_query PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_params_being_passed_to_search[asyncio] PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_params_being_passed_to_search[trio] PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_overwrite_script PASSED [ 36%] test_elasticsearch/test_dsl/_async/test_update_by_query.py::test_update_by_query_response_success PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_range_serializes_properly PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_range_deserializes_properly PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_resolve_nested PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_conflicting_mapping_raises_error_in_index_to_dict PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_ip_address_serializes_properly PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_matches_uses_index PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_matches_with_no_name_always_matches PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_matches_accepts_wildcards PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_assigning_attrlist_to_field PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_optional_inner_objects_are_not_validated_if_missing PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_custom_field PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_custom_field_mapping PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_custom_field_in_nested PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_multi_works_after_doc_has_been_saved PASSED [ 37%] test_elasticsearch/test_dsl/_sync/test_document.py::test_multi_works_in_nested_after_doc_has_been_serialized PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_null_value_for_object PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_inherited_doc_types_can_override_index PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_to_dict_with_meta PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_to_dict_with_meta_includes_custom_index PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_to_dict_without_skip_empty_will_include_empty_fields PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_attribute_can_be_removed PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_doc_type_can_be_correctly_pickled PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_meta_is_accessible_even_on_empty_doc PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_meta_field_mapping PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_multi_value_fields PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_docs_with_properties PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_docs_with_name_collisions PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_nested_can_be_assigned_to PASSED [ 38%] test_elasticsearch/test_dsl/_sync/test_document.py::test_nested_can_be_none PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_nested_defaults_to_list_and_can_be_updated PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_to_dict_is_recursive_and_can_cope_with_multi_values PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_to_dict_ignores_empty_collections PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_declarative_mapping_definition PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_you_can_supply_own_mapping_instance PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_document_can_be_created_dynamically PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_invalid_date_will_raise_exception PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_document_inheritance PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_child_class_can_override_parent PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_meta_fields_are_stored_in_meta_and_ignored_by_to_dict PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_index_inheritance PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_meta_fields_can_be_set_directly_in_init PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_save_no_index PASSED [ 39%] test_elasticsearch/test_dsl/_sync/test_document.py::test_delete_no_index PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_update_no_fields PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_search_with_custom_alias_and_index PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_from_es_respects_underscored_non_meta_fields PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_nested_and_object_inner_doc PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_doc_with_type_hints PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_doc_with_pipe_type_hints PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_instrumented_field PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_pydantic_integration PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_document.py::test_renamed_fields PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_query_is_created_properly PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_query_is_created_properly_with_sort_tuple PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_filter_is_applied_to_search_but_not_relevant_facet PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_filters_are_applied_to_search_ant_relevant_facets PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_facet_with_1970_01_01_date PASSED [ 40%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-year] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-year] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-month] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-month] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-week] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-week] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-day] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-day] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-day] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-hour] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-hour] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-1Y] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1Y] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-1M] PASSED [ 41%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1M] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-1w] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1w] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-1d] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[calendar_interval-1d] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-1d] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[interval-1h] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_interval_types[fixed_interval-1h] PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_no_interval_keyerror PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_params_added_to_search PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_index.py::test_multiple_doc_types_will_combine_mappings PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_index.py::test_search_is_limited_to_index_name PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_index.py::test_cloned_index_has_copied_settings_and_using PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_index.py::test_cloned_index_has_analysis_attribute PASSED [ 42%] test_elasticsearch/test_dsl/_sync/test_index.py::test_settings_are_saved PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_registered_doc_type_included_in_to_dict PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_registered_doc_type_included_in_search PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_aliases_add_to_object PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_aliases_returned_from_to_dict PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_analyzers_added_to_object PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_analyzers_returned_from_to_dict PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_conflicting_analyzer_raises_error PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_index_template_can_have_order PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_index.py::test_index_template_save_result PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_mapping_can_has_fields PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_mapping_update_is_recursive PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_properties_can_iterate_over_all_the_fields PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_mapping_can_collect_all_analyzers_and_normalizers PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_mapping_can_collect_multiple_analyzers PASSED [ 43%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_even_non_custom_analyzers_can_have_params PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_resolve_field_can_resolve_multifields PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_mapping.py::test_resolve_nested PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_expand__to_dot_is_respected PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_execute_uses_cache PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_cache_can_be_ignored PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_iter_iterates_over_hits PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_cache_isnt_cloned PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_search_starts_with_no_query PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_search_query_combines_query PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_query_can_be_assigned_to PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_query_can_be_wrapped PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_using PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_methods_are_proxied_to_the_query PASSED [ 44%] test_elasticsearch/test_dsl/_sync/test_search.py::test_query_always_returns_search PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_source_copied_on_clone PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_copy_clones PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_aggs_allow_two_metric PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_aggs_get_copied_on_change PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_search_index PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_doc_type_document_class PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_knn PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_rank PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_sort PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_sort_by_score PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_collapse PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_slice PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_index PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_search_to_dict PASSED [ 45%] test_elasticsearch/test_dsl/_sync/test_search.py::test_complex_example PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_reverse PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_code_generated_classes PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_from_dict_doesnt_need_query PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_params_being_passed_to_search PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_source PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_source_on_clone PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_source_on_clear PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_suggest_accepts_global_text PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_suggest PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_exclude PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_delete_by_query PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_update_from_dict PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_rescore_query_to_dict PASSED [ 46%] test_elasticsearch/test_dsl/_sync/test_search.py::test_empty_search PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_search.py::test_suggest_completion PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_search.py::test_suggest_regex_query PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_search.py::test_suggest_must_pass_text_or_regex PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_search.py::test_suggest_can_only_pass_text_or_regex PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_search.py::test_suggest_regex_must_be_wtih_completion PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_ubq_starts_with_no_query PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_ubq_to_dict PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_complex_example PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_exclude PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_reverse PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_from_dict_doesnt_need_query PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_params_being_passed_to_search PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_overwrite_script PASSED [ 47%] test_elasticsearch/test_dsl/_sync/test_update_by_query.py::test_update_by_query_response_success PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_repr PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_meta PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_meta_from_dict PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_A_creates_proper_agg PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_A_handles_nested_aggs_properly PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_A_passes_aggs_through PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_A_from_dict PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_A_fails_with_incorrect_dict PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_A_fails_with_agg_and_params PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_buckets_are_nestable PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_metric_inside_buckets PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_buckets_equals_counts_subaggs PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_buckets_to_dict PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_nested_buckets_are_reachable_as_getitem PASSED [ 48%] test_elasticsearch/test_dsl/test_aggs.py::test_nested_buckets_are_settable_as_getitem PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_filter_can_be_instantiated_using_positional_args PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_filter_aggregation_as_nested_agg PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_filter_aggregation_with_nested_aggs PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_filters_correctly_identifies_the_hash PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_bucket_sort_agg PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_bucket_sort_agg_only_trnunc PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_geohash_grid_aggregation PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_geohex_grid_aggregation PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_geotile_grid_aggregation PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_boxplot_aggregation PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_rare_terms_aggregation PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_variable_width_histogram_aggregation PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_ip_prefix_aggregation PASSED [ 49%] test_elasticsearch/test_dsl/test_aggs.py::test_ip_prefix_aggregation_extra PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_multi_terms_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_categorize_text_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_median_absolute_deviation_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_t_test_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_geo_line_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_inference_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_matrix_stats_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_moving_percentiles_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_normalize_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_random_sampler_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_adjancecy_matrix_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_top_metrics_aggregation PASSED [ 50%] test_elasticsearch/test_dsl/test_aggs.py::test_bucket_agg_with_filter PASSED [ 50%] test_elasticsearch/test_dsl/test_analysis.py::test_analyzer_serializes_as_name PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_analyzer_has_definition PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_simple_multiplexer_filter PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_multiplexer_with_custom_filter PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_conditional_token_filter PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_conflicting_nested_filters_cause_error PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_normalizer_serializes_as_name PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_normalizer_has_definition PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_tokenizer PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_custom_analyzer_can_collect_custom_items PASSED [ 51%] test_elasticsearch/test_dsl/test_analysis.py::test_stemmer_analyzer_can_pass_name PASSED [ 51%] test_elasticsearch/test_dsl/test_connections.py::test_default_connection_is_returned_by_default PASSED [ 51%] test_elasticsearch/test_dsl/test_connections.py::test_get_connection_created_connection_if_needed PASSED [ 51%] test_elasticsearch/test_dsl/test_connections.py::test_configure_preserves_unchanged_connections PASSED [ 51%] test_elasticsearch/test_dsl/test_connections.py::test_remove_connection_removes_both_conn_and_conf PASSED [ 51%] test_elasticsearch/test_dsl/test_connections.py::test_create_connection_constructs_client PASSED [ 52%] test_elasticsearch/test_dsl/test_connections.py::test_create_connection_adds_our_serializer FAILED [ 52%] test_elasticsearch/test_dsl/test_connections.py::test_connection_has_correct_user_agent FAILED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_date_range_deserialization PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_boolean_deserialization PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_datetime_deserialization PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_date_deserialization PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_date_field_can_have_default_tz PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_custom_field_car_wrap_other_field PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_field_from_dict PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_multi_fields_are_accepted_and_parsed PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_nested_provides_direct_access_to_its_fields PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_field_supports_multiple_analyzers PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_multifield_supports_multiple_analyzers PASSED [ 52%] test_elasticsearch/test_dsl/test_field.py::test_scaled_float PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_ipaddress PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_float PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_integer PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_binary PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_constant_keyword PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_rank_features PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_object_dynamic_values PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_object_disabled PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_object_constructor PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_dynamic_object PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_dynamic_nested PASSED [ 53%] test_elasticsearch/test_dsl/test_field.py::test_all_fields_exported PASSED [ 53%] test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_with_just__builtin_tokenizer[asyncio] ERROR [ 53%] test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_complex[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_builtin[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_with_just__builtin_tokenizer[trio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_complex[trio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_builtin[trio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_serialization[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_wrapped_properly[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_deserialized_properly[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_top_hits_are_wrapped_properly[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_object_field[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script_with_dict[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_retry_on_conflict[asyncio] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[asyncio-None] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[asyncio-0] ERROR [ 54%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_and_update_return_doc_meta[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_init[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_index_missing[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_non_existent_id[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored_and_index_doesnt_exist[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_return_true[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_false[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_with_tz_date[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_with_tz_date[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_exception_when_missing_param_is_invalid[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_404_when_missing_param_is_raise[asyncio] ERROR [ 55%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_ignores_missing_docs_when_missing_param_is_skip[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_works_from_search_response[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_updates_existing_doc[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_empty_field[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_automatically_uses_seq_no_and_primary_term[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete_automatically_uses_seq_no_and_primary_term[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_can_save_to_different_index[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[asyncio-True] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[asyncio-False] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search_returns_proper_doc_classes[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_refresh_mapping[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_highlight_in_meta[asyncio] ERROR [ 56%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_bulk[asyncio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_legacy_dense_vector[asyncio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_dense_vector[asyncio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_copy_to[asyncio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_serialization[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_wrapped_properly[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_deserialized_properly[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_top_hits_are_wrapped_properly[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_object_field[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script_with_dict[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_retry_on_conflict[trio] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[trio-None] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[trio-0] ERROR [ 57%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_and_update_return_doc_meta[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_init[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_index_missing[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_non_existent_id[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored_and_index_doesnt_exist[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_return_true[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_false[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_with_tz_date[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_with_tz_date[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_exception_when_missing_param_is_invalid[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_404_when_missing_param_is_raise[trio] ERROR [ 58%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_ignores_missing_docs_when_missing_param_is_skip[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_works_from_search_response[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_updates_existing_doc[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_empty_field[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_automatically_uses_seq_no_and_primary_term[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete_automatically_uses_seq_no_and_primary_term[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_can_save_to_different_index[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[trio-True] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[trio-False] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search_returns_proper_doc_classes[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_refresh_mapping[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_highlight_in_meta[trio] ERROR [ 59%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_bulk[trio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_legacy_dense_vector[trio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_dense_vector[trio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_copy_to[trio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql_dsl[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql[trio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql_dsl[trio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_facet_with_custom_metric[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet_with_filter[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_datehistogram_facet[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_boolean_facet[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_empty_search_finds_everything[asyncio] ERROR [ 60%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_term_filters_are_shown_as_selected_and_data_is_filtered[asyncio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_range_filters_are_shown_as_selected_and_data_is_filtered[asyncio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_pagination[asyncio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_facet_with_custom_metric[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet_with_filter[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_datehistogram_facet[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_boolean_facet[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_empty_search_finds_everything[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_term_filters_are_shown_as_selected_and_data_is_filtered[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_range_filters_are_shown_as_selected_and_data_is_filtered[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_pagination[trio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_template_works[asyncio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_composable_index_template_works[asyncio] ERROR [ 61%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_saved_even_with_settings[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_exists[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_created_with_settings_and_mappings[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_delete[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_multiple_indices_with_same_doc_type_work[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_template_works[trio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_composable_index_template_works[trio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_saved_even_with_settings[trio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_exists[trio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_created_with_settings_and_mappings[trio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_delete[trio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_multiple_indices_with_same_doc_type_work[trio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_closed[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_with_analysis[asyncio] ERROR [ 62%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_gets_updated_from_es[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es[trio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_closed[trio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_with_analysis[trio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_gets_updated_from_es[trio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_filters_aggregation_buckets_are_accessible[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_top_hits_are_wrapped_in_response[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_wrapped_in_response[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_serialized_to_dict[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_respects_doc_types[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_iterates_through_all_docs[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_search[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_sort[asyncio] ERROR [ 63%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_results[asyncio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_point_in_time[asyncio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_iterate[asyncio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_response_is_cached[asyncio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_search[asyncio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_missing[asyncio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_raw_subfield_can_be_used_in_aggs[asyncio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_filters_aggregation_buckets_are_accessible[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_top_hits_are_wrapped_in_response[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_wrapped_in_response[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_serialized_to_dict[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_respects_doc_types[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_iterates_through_all_docs[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_search[trio] ERROR [ 64%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_sort[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_results[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_point_in_time[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_iterate[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_response_is_cached[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_search[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_missing[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_raw_subfield_can_be_used_in_aggs[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_no_script[asyncio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_with_script[asyncio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_delete_by_query_with_script[asyncio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_no_script[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_with_script[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_delete_by_query_with_script[trio] ERROR [ 65%] test_elasticsearch/test_dsl/test_integration/_sync/test_analysis.py::test_simulate_with_just__builtin_tokenizer ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_analysis.py::test_simulate_complex ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_analysis.py::test_simulate_builtin ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_serialization ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_nested_inner_hits_are_wrapped_properly ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_nested_inner_hits_are_deserialized_properly ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_nested_top_hits_are_wrapped_properly ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_object_field ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_script ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_script_with_dict ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_retry_on_conflict ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_conflicting_version[None] ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_conflicting_version[0] ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_and_update_return_doc_meta ERROR [ 66%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_init ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_raises_404_on_index_missing ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_raises_404_on_non_existent_id ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_returns_none_if_404_ignored ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_returns_none_if_404_ignored_and_index_doesnt_exist ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_exists_return_true ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_exists_false ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_with_tz_date ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_with_tz_date ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget_raises_exception_when_missing_param_is_invalid ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget_raises_404_when_missing_param_is_raise ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget_ignores_missing_docs_when_missing_param_is_skip ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_works_from_search_response ERROR [ 67%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_updates_existing_doc ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_empty_field ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_automatically_uses_seq_no_and_primary_term ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_delete_automatically_uses_seq_no_and_primary_term ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_can_save_to_different_index ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_without_skip_empty_will_include_empty_fields[True] ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_without_skip_empty_will_include_empty_fields[False] ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_delete ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_search ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_search_returns_proper_doc_classes ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_refresh_mapping ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_highlight_in_meta ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_bulk ERROR [ 68%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_legacy_dense_vector ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_dense_vector ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_copy_to ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_esql.py::test_esql ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_esql.py::test_esql_dsl ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_facet_with_custom_metric ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_nested_facet ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_nested_facet_with_filter ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_datehistogram_facet ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_boolean_facet ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_empty_search_finds_everything ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_term_filters_are_shown_as_selected_and_data_is_filtered ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_range_filters_are_shown_as_selected_and_data_is_filtered ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_pagination ERROR [ 69%] test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_template_works ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_composable_index_template_works ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_can_be_saved_even_with_settings ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_exists ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_can_be_created_with_settings_and_mappings ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_delete ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_multiple_indices_with_same_doc_type_work ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_saved_into_es ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_closed ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_with_analysis ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_gets_updated_from_es ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_filters_aggregation_buckets_are_accessible ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_top_hits_are_wrapped_in_response ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_inner_hits_are_wrapped_in_response ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_inner_hits_are_serialized_to_dict ERROR [ 70%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_scan_respects_doc_types ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_scan_iterates_through_all_docs ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after_no_search ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after_no_sort ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after_no_results ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_point_in_time ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_iterate ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_response_is_cached ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_multi_search ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_multi_missing ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_raw_subfield_can_be_used_in_aggs ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_update_by_query.py::test_update_by_query_no_script ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_update_by_query.py::test_update_by_query_with_script ERROR [ 71%] test_elasticsearch/test_dsl/test_integration/_sync/test_update_by_query.py::test_delete_by_query_with_script ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_count.py::test_count_all ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_count.py::test_count_prefetch ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_count.py::test_count_filter ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_alias_migration.py::test_alias_migration[asyncio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_alias_migration.py::test_alias_migration[trio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_completion.py::test_person_suggests_on_all_variants_of_name[asyncio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_completion.py::test_person_suggests_on_all_variants_of_name[trio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_exhausts_all_files[asyncio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_with_multiple_aggs[asyncio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_exhausts_all_files[trio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_with_multiple_aggs[trio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_comment[asyncio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_question_answer[asyncio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_comment[trio] ERROR [ 72%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_question_answer[trio] ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_percolate.py::test_post_gets_tagged_automatically[asyncio] ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_percolate.py::test_post_gets_tagged_automatically[trio] ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_vectors.py::test_vector_search[asyncio] ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_vectors.py::test_vector_search[trio] ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_alias_migration.py::test_alias_migration ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_completion.py::test_person_suggests_on_all_variants_of_name ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_composite_aggs.py::test_scan_aggs_exhausts_all_files ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_composite_aggs.py::test_scan_aggs_with_multiple_aggs ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_parent_child.py::test_comment ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_parent_child.py::test_question_answer ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_percolate.py::test_post_gets_tagged_automatically ERROR [ 73%] test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_vectors.py::test_vector_search ERROR [ 73%] test_elasticsearch/test_dsl/test_package.py::test__all__is_sorted PASSED [ 73%] test_elasticsearch/test_dsl/test_query.py::test_empty_Q_is_match_all PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_combined_fields_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_combined_fields_to_dict_extra PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_match_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_match_to_dict_extra PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_fuzzy_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_prefix_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_term_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_terms_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_bool_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_dismax_to_dict PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_bool_from_dict_issue_318 PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_repr PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_query_clone PASSED [ 74%] test_elasticsearch/test_dsl/test_query.py::test_bool_converts_its_init_args_to_queries PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_two_queries_make_a_bool PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_other_and_bool_appends_other_to_must PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_bool_and_other_appends_other_to_must PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_bool_and_other_sets_min_should_match_if_needed PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_bool_with_different_minimum_should_match_should_not_be_combined PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_empty_bool_has_min_should_match_0 PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_query_and_query_creates_bool PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_match_all_and_query_equals_other PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_not_match_all_is_match_none PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_not_match_none_is_match_all PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_invert_empty_bool_is_match_none PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_match_none_or_query_equals_query PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_match_none_and_query_equals_match_none PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_bool_and_bool PASSED [ 75%] test_elasticsearch/test_dsl/test_query.py::test_bool_and_bool_with_min_should_match PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_negative_min_should_match PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_percentage_min_should_match PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_inverted_query_becomes_bool_with_must_not PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_inverted_query_with_must_not_become_should PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_inverted_query_with_must_and_must_not PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_double_invert_returns_original_query PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_bool_query_gets_inverted_internally PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_match_all_or_something_is_match_all PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_or_produces_bool_with_should PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_or_bool_doesnt_loop_infinitely_issue_37 PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_or_bool_doesnt_loop_infinitely_issue_96 PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_bool_will_append_another_query_with_or PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_bool_queries_with_only_should_get_concatenated PASSED [ 76%] test_elasticsearch/test_dsl/test_query.py::test_two_bool_queries_append_one_to_should_if_possible PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_queries_are_registered PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_defining_query_registers_it PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_passes_query_through PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_constructs_query_by_name PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_translates_double_underscore_to_dots_in_param_names PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_doesn_translate_double_underscore_to_dots_in_param_names PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_constructs_simple_query_from_dict PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_constructs_compound_query_from_dict PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_raises_error_when_passed_in_dict_and_params PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_raises_error_when_passed_in_query_and_params PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_Q_raises_error_on_unknown_query PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_match_all_and_anything_is_anything PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_function_score_with_functions PASSED [ 77%] test_elasticsearch/test_dsl/test_query.py::test_function_score_with_no_function_is_boost_factor PASSED [ 78%] test_elasticsearch/test_dsl/test_query.py::test_function_score_to_dict PASSED [ 78%] test_elasticsearch/test_dsl/test_query.py::test_function_score_class_based_to_dict PASSED [ 78%] test_elasticsearch/test_dsl/test_query.py::test_function_score_with_single_function PASSED [ 78%] test_elasticsearch/test_dsl/test_query.py::test_function_score_from_dict PASSED [ 78%] test_elasticsearch/test_dsl/test_query.py::test_script_score PASSED [ 78%] test_elasticsearch/test_dsl/test_query.py::test_expand_double_underscore_to_dot_setting PASSED [ 78%] test_elasticsearch/test_dsl/test_query.py::test_knn_query PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_agg_response_is_pickleable PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_response_is_pickleable PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_hit_is_pickleable PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_response_stores_search PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_attribute_error_in_hits_is_not_hidden PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_interactive_helpers PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_empty_response_is_false PASSED [ 78%] test_elasticsearch/test_dsl/test_result.py::test_len_response PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_iterating_over_response_gives_you_hits PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_hits_get_wrapped_to_contain_additional_attrs PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_hits_provide_dot_and_bracket_access_to_attrs PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_slicing_on_response_slices_on_hits PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_aggregation_base PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_metric_agg_works PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_aggregations_can_be_iterated_over PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_aggregations_can_be_retrieved_by_name PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_bucket_response_can_be_iterated_over PASSED [ 79%] test_elasticsearch/test_dsl/test_result.py::test_bucket_keys_get_deserialized PASSED [ 79%] test_elasticsearch/test_dsl/test_utils.py::test_attrdict_pickle PASSED [ 79%] test_elasticsearch/test_dsl/test_utils.py::test_attrlist_pickle PASSED [ 79%] test_elasticsearch/test_dsl/test_utils.py::test_attrlist_slice PASSED [ 79%] test_elasticsearch/test_dsl/test_utils.py::test_attrlist_with_type_argument PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_attrdict_keys_items PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_attrdict_with_type_argument PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_merge PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_merge_conflict PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_attrdict_bool PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_attrlist_items_get_wrapped_during_iteration PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_serializer_deals_with_Attr_versions PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_serializer_deals_with_objects_with_to_dict PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_recursive_to_dict PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_attrlist_to_list PASSED [ 80%] test_elasticsearch/test_dsl/test_utils.py::test_attrdict_with_reserved_keyword PASSED [ 80%] test_elasticsearch/test_dsl/test_validation.py::test_required_int_can_be_0 PASSED [ 80%] test_elasticsearch/test_dsl/test_validation.py::test_required_field_cannot_be_empty_list PASSED [ 80%] test_elasticsearch/test_dsl/test_validation.py::test_validation_works_for_lists_of_values PASSED [ 81%] test_elasticsearch/test_dsl/test_validation.py::test_field_with_custom_clean PASSED [ 81%] test_elasticsearch/test_dsl/test_validation.py::test_empty_object PASSED [ 81%] test_elasticsearch/test_dsl/test_validation.py::test_missing_required_field_raises_validation_exception PASSED [ 81%] test_elasticsearch/test_dsl/test_validation.py::test_boolean_doesnt_treat_false_as_empty PASSED [ 81%] test_elasticsearch/test_dsl/test_validation.py::test_custom_validation_on_nested_gets_run PASSED [ 81%] test_elasticsearch/test_dsl/test_validation.py::test_accessing_known_fields_returns_empty_value PASSED [ 81%] test_elasticsearch/test_dsl/test_validation.py::test_empty_values_are_not_serialized PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_contains[kwargs0-1] PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_contains[kwargs1--1] PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_contains[kwargs2--1] PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_contains[kwargs3-4] PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_contains[kwargs4-4] PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_contains[kwargs5-2] PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_contains[kwargs6-item6] PASSED [ 81%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_not_contains[kwargs0--1] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_not_contains[kwargs1-4] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_not_contains[kwargs2-42] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_not_contains[kwargs3-1] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_not_contains[kwargs4-item4] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_raises_value_error_on_wrong_params[args0-kwargs0] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_raises_value_error_on_wrong_params[args1-kwargs1] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_raises_value_error_on_wrong_params[args2-kwargs2] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_raises_value_error_on_wrong_params[args3-kwargs3] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_raises_value_error_on_wrong_params[args4-kwargs4] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_lower[range0-1-False] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_lower[range1-1-True] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_lower[range2-None-False] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_lower[range3-None-False] PASSED [ 82%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_upper[range0-1-False] PASSED [ 83%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_upper[range1-1-True] PASSED [ 83%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_upper[range2-None-False] PASSED [ 83%] test_elasticsearch/test_dsl/test_wrappers.py::test_range_upper[range3-None-False] PASSED [ 83%] test_elasticsearch/test_esql.py::test_from PASSED [ 83%] test_elasticsearch/test_esql.py::test_row PASSED [ 83%] test_elasticsearch/test_esql.py::test_show PASSED [ 83%] test_elasticsearch/test_esql.py::test_ts PASSED [ 83%] test_elasticsearch/test_esql.py::test_set PASSED [ 83%] test_elasticsearch/test_esql.py::test_change_point PASSED [ 83%] test_elasticsearch/test_esql.py::test_completion PASSED [ 83%] test_elasticsearch/test_esql.py::test_dissect PASSED [ 83%] test_elasticsearch/test_esql.py::test_drop PASSED [ 83%] test_elasticsearch/test_esql.py::test_enrich PASSED [ 83%] test_elasticsearch/test_esql.py::test_eval PASSED [ 83%] test_elasticsearch/test_esql.py::test_fork PASSED [ 84%] test_elasticsearch/test_esql.py::test_fuse PASSED [ 84%] test_elasticsearch/test_esql.py::test_grok PASSED [ 84%] test_elasticsearch/test_esql.py::test_inline_stats PASSED [ 84%] test_elasticsearch/test_esql.py::test_keep PASSED [ 84%] test_elasticsearch/test_esql.py::test_limit PASSED [ 84%] test_elasticsearch/test_esql.py::test_lookup_join PASSED [ 84%] test_elasticsearch/test_esql.py::test_metrics_info PASSED [ 84%] test_elasticsearch/test_esql.py::test_mmr PASSED [ 84%] test_elasticsearch/test_esql.py::test_mv_expand PASSED [ 84%] test_elasticsearch/test_esql.py::test_registered_domain PASSED [ 84%] test_elasticsearch/test_esql.py::test_rename PASSED [ 84%] test_elasticsearch/test_esql.py::test_rerank PASSED [ 84%] test_elasticsearch/test_esql.py::test_sample PASSED [ 84%] test_elasticsearch/test_esql.py::test_sort PASSED [ 85%] test_elasticsearch/test_esql.py::test_stats PASSED [ 85%] test_elasticsearch/test_esql.py::test_ts_info PASSED [ 85%] test_elasticsearch/test_esql.py::test_uri_parts PASSED [ 85%] test_elasticsearch/test_esql.py::test_user_agent PASSED [ 85%] test_elasticsearch/test_esql.py::test_where PASSED [ 85%] test_elasticsearch/test_esql.py::test_and_operator PASSED [ 85%] test_elasticsearch/test_esql.py::test_or_operator PASSED [ 85%] test_elasticsearch/test_esql.py::test_not_operator PASSED [ 85%] test_elasticsearch/test_esql.py::test_in_operator PASSED [ 85%] test_elasticsearch/test_esql.py::test_like_operator PASSED [ 85%] test_elasticsearch/test_esql.py::test_rlike_operator PASSED [ 85%] test_elasticsearch/test_esql.py::test_match_operator PASSED [ 85%] test_elasticsearch/test_esql.py::test_parameters PASSED [ 85%] test_elasticsearch/test_exceptions.py::TestTransformError::test_transform_error_parse_with_error_reason PASSED [ 86%] test_elasticsearch/test_exceptions.py::TestTransformError::test_transform_error_parse_with_error_string PASSED [ 86%] test_elasticsearch/test_exceptions.py::TestTransformError::test_transform_invalid_media_type_error PASSED [ 86%] test_elasticsearch/test_helpers.py::TestParallelBulk::test_all_chunks_sent PASSED [ 86%] test_elasticsearch/test_helpers.py::TestParallelBulk::test_chunk_sent_from_different_threads PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_expand_action PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_expand_action_actions PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_expand_action_options PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test__source_metadata_or_source PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_byte_size[None] PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_byte_size[10] PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_chunk_size[None] PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_chunk_size[10] PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_byte_size_properly[None] PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_byte_size_properly[10] PASSED [ 86%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_flush[None] PASSED [ 87%] test_elasticsearch/test_helpers.py::TestChunkActions::test_chunks_are_chopped_by_flush[10] PASSED [ 87%] test_elasticsearch/test_helpers.py::TestExpandActions::test_string_actions_are_marked_as_simple_inserts[whatever0] PASSED [ 87%] test_elasticsearch/test_helpers.py::TestExpandActions::test_string_actions_are_marked_as_simple_inserts[whatever1] PASSED [ 87%] test_elasticsearch/test_helpers.py::test_serialize_bulk_index_error PASSED [ 87%] test_elasticsearch/test_helpers.py::test_serialize_scan_error PASSED [ 87%] test_elasticsearch/test_otel.py::test_enabled SKIPPED (TEST_WITH_OTE...) [ 87%] test_elasticsearch/test_otel.py::test_minimal_span SKIPPED (TEST_WIT...) [ 87%] test_elasticsearch/test_otel.py::test_detailed_span SKIPPED (TEST_WI...) [ 87%] test_elasticsearch/test_otel.py::test_forward_otel_context_to_subthreads SKIPPED [ 87%] test_elasticsearch/test_serializer.py::test_datetime_serialization[JsonSerializer] PASSED [ 87%] test_elasticsearch/test_serializer.py::test_datetime_serialization[OrjsonSerializer] PASSED [ 87%] test_elasticsearch/test_serializer.py::test_decimal_serialization[JsonSerializer] PASSED [ 87%] test_elasticsearch/test_serializer.py::test_decimal_serialization[OrjsonSerializer] PASSED [ 87%] test_elasticsearch/test_serializer.py::test_uuid_serialization[JsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_uuid_serialization[OrjsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_bool[JsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_bool[OrjsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_integers[JsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_integers[OrjsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_floats[JsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_floats[OrjsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_datetime[JsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_datetime[OrjsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_ndarray[JsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_ndarray[OrjsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_numpy_nan_to_nan PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_pandas_timestamp[JsonSerializer] PASSED [ 88%] test_elasticsearch/test_serializer.py::test_serializes_pandas_timestamp[OrjsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_serializes_pandas_series[JsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_serializes_pandas_series[OrjsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_serializes_pandas_na[JsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_serializes_pandas_na[OrjsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_raises_serialization_error_pandas_nat[JsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_raises_serialization_error_pandas_nat[OrjsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_serializes_pandas_category[JsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_serializes_pandas_category[OrjsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_pyarrow_loads SKIPPED (T...) [ 89%] test_elasticsearch/test_serializer.py::test_json_raises_serialization_error_on_dump_error[JsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_json_raises_serialization_error_on_dump_error[OrjsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_raises_serialization_error_on_load_error[JsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_raises_serialization_error_on_load_error[OrjsonSerializer] PASSED [ 89%] test_elasticsearch/test_serializer.py::test_strings_are_left_untouched PASSED [ 89%] test_elasticsearch/test_serializer.py::test_text_raises_serialization_error_on_dump_error PASSED [ 90%] test_elasticsearch/test_serializer.py::TestDeserializer::test_deserializes_json_by_default PASSED [ 90%] test_elasticsearch/test_serializer.py::TestDeserializer::test_deserializes_text_with_correct_ct[{"some":"data"}0] PASSED [ 90%] test_elasticsearch/test_serializer.py::TestDeserializer::test_deserializes_text_with_correct_ct[{"some":"data"}1] PASSED [ 90%] test_elasticsearch/test_serializer.py::TestDeserializer::test_deserialize_compatibility_header PASSED [ 90%] test_elasticsearch/test_server/test_clients.py::test_indices_analyze_unicode[kwargs0] ERROR [ 90%] test_elasticsearch/test_server/test_clients.py::test_indices_analyze_unicode[kwargs1] ERROR [ 90%] test_elasticsearch/test_server/test_clients.py::test_bulk_works_with_string_body ERROR [ 90%] test_elasticsearch/test_server/test_clients.py::test_bulk_works_with_bytestring_body ERROR [ 90%] test_elasticsearch/test_server/test_helpers.py::test_bulk_actions_remain_unchanged ERROR [ 90%] test_elasticsearch/test_server/test_helpers.py::test_bulk_all_documents_get_inserted ERROR [ 90%] test_elasticsearch/test_server/test_helpers.py::test_explicit_flushes ERROR [ 90%] test_elasticsearch/test_server/test_helpers.py::test_timeout_flushes ERROR [ 90%] test_elasticsearch/test_server/test_helpers.py::test_bulk_all_errors_from_chunk_are_raised_on_failure ERROR [ 90%] test_elasticsearch/test_server/test_helpers.py::test_bulk_different_op_types ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_bulk_transport_error_can_becaught ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried_when_bytes_or_string[False] ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried_when_bytes_or_string[True] ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried_at_most_max_retries_times ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_bulk_transport_error_is_raised_with_max_retries ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_connection_timeout_is_retried_with_retry_status_callback ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_bulk_works_with_single_item ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_all_documents_get_inserted ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_stats_only_reports_numbers ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_errors_are_reported_correctly ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_error_is_raised ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_ignore_error_if_raised ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_errors_are_collected_properly ERROR [ 91%] test_elasticsearch/test_server/test_helpers.py::test_order_can_be_preserved ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_all_documents_are_read ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scroll_error ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_initial_search_error ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_no_scroll_id_fast_route ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs0] ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs1] ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs2] ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs3] ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs4] ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_favor_scroll_kwargs_option ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_log_warning_on_shard_failures ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_clear_scroll ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_shards_no_skipped_field ERROR [ 92%] test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs0] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs1] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs2] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs3] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs4] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs5] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_reindex_passes_kwargs_to_scan_and_bulk ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_reindex_accepts_a_query ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_all_documents_get_moved ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_children_are_reindexed_correctly ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_reindex_index_datastream[None] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_reindex_index_datastream[create] ERROR [ 93%] test_elasticsearch/test_server/test_helpers.py::test_reindex_index_datastream_op_type_index ERROR [ 93%] test_elasticsearch/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_error ERROR [ 93%] test_elasticsearch/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_response ERROR [ 94%] test_elasticsearch/test_server/test_otel.py::test_otel_end_to_end SKIPPED [ 94%] test_elasticsearch/test_server/test_otel.py::test_otel_ping SKIPPED [ 94%] test_elasticsearch/test_server/test_otel.py::test_otel_bulk[bulk] SKIPPED [ 94%] test_elasticsearch/test_server/test_otel.py::test_otel_bulk[streaming_bulk] SKIPPED [ 94%] test_elasticsearch/test_server/test_otel.py::test_otel_bulk[parallel_bulk] SKIPPED [ 94%] test_elasticsearch/test_server/test_responses.py::test_text_response ERROR [ 94%] test_elasticsearch/test_server/test_responses.py::test_object_response ERROR [ 94%] test_elasticsearch/test_server/test_responses.py::test_exists_response ERROR [ 94%] test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[NOTSET] SKIPPED [ 94%] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_documents ERROR [ 94%] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_query ERROR [ 94%] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py::test_user_agent_default ERROR [ 94%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_without_metadata ERROR [ 94%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_without_metadata_async ERROR [ 94%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_add_vectors ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_metadata ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_filter ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_script_score ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_script_score_with_filter ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_script_score_distance_dot_product ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_knn_with_hybrid_search ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_knn_with_hybrid_search_rrf ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_knn_with_custom_query_fn ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_knn_infer_instack ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_sparse_infer_instack ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_deployed_model_check_fails_semantic ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_bm25 ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_bm25_with_filter ERROR [ 95%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_delete ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_indexing_exception_error ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_user_agent_default ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_user_agent_custom ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_bulk_args ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_max_marginal_relevance_search_errors ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_max_marginal_relevance_search ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_metadata_mapping ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_custom_index_settings ERROR [ 96%] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_custom_index_settings_with_collision ERROR [ 96%] test_elasticsearch/test_strategies.py::test_sparse_vector_strategy_raises_errors PASSED [ 96%] test_elasticsearch/test_strategies.py::test_dense_vector_strategy_raises_error PASSED [ 96%] test_elasticsearch/test_strategies.py::test_dense_vector_script_score_strategy_raises_error PASSED [ 96%] test_elasticsearch/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed PASSED [ 96%] test_elasticsearch/test_transport.py::TestTransport::test_opaque_id PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_custom_user_agent_on_initialization PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_request_with_custom_user_agent_header PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_request_with_custom_user_agent_header_set_at_client_level PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_client_meta_header PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_client_meta_header_not_sent PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_meta_header_type_error PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_body_surrogates_replaced_encoded_into_bytes PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_kwargs_passed_on_to_node_pool PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_custom_node_class PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_request_will_fail_after_x_retries PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_request_with_backoff_retries PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_failed_connection_will_be_marked_as_dead PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_resurrected_connection_will_be_marked_as_live_on_success PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_override_mark_dead_mark_live PASSED [ 97%] test_elasticsearch/test_transport.py::TestTransport::test_sniff_will_use_seed_connections[{\n "_nodes" : {\n "total" : 1,\n "successful" : 1,\n "failed" : 0\n },\n "cluster_name" : "elasticsearch",\n "nodes" : {\n "SRZpKFZdQguhhvifmN6UVA" : {\n "name" : "SRZpKFZ",\n "transport_address" : "127.0.0.1:9300",\n "host" : "127.0.0.1",\n "ip" : "127.0.0.1",\n "version" : "5.0.0",\n "build_hash" : "253032b",\n "roles" : [ "master", "data", "ingest" ],\n "http" : {\n "bound_address" : [ "[fe80::1]:9200", "[::1]:9200", "127.0.0.1:9200" ],\n "publish_address" : "1.1.1.1:123",\n "max_content_length_in_bytes" : 104857600\n }\n }\n }\n}-1.1.1.1] PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniff_will_use_seed_connections[{\n "_nodes" : {\n "total" : 1,\n "successful" : 1,\n "failed" : 0\n },\n "cluster_name" : "elasticsearch",\n "nodes" : {\n "SRZpKFZdQguhhvifmN6UVA" : {\n "name" : "SRZpKFZ",\n "transport_address" : "127.0.0.1:9300",\n "host" : "127.0.0.1",\n "ip" : "127.0.0.1",\n "version" : "5.0.0",\n "build_hash" : "253032b",\n "roles" : [ "master", "data", "ingest" ],\n "http" : {\n "bound_address" : [ "[fe80::1]:9200", "[::1]:9200", "127.0.0.1:9200" ],\n "publish_address" : "somehost.tld/1.1.1.1:123",\n "max_content_length_in_bytes" : 104857600\n }\n }\n }\n}-somehost.tld] PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniff_on_start_ignores_sniff_timeout PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniff_uses_sniff_timeout PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniff_reuses_node_instances PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniff_after_n_seconds PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs0] PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs1] PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs2] PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs3] PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniffing_master_only_filtered_by_default PASSED [ 98%] test_elasticsearch/test_transport.py::TestTransport::test_sniff_node_callback PASSED [ 98%] test_elasticsearch/test_transport.py::test_unsupported_product_error[headers0] PASSED [ 98%] test_elasticsearch/test_transport.py::test_unsupported_product_error[headers1] PASSED [ 98%] test_elasticsearch/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[401] PASSED [ 99%] test_elasticsearch/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[403] PASSED [ 99%] test_elasticsearch/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[413] PASSED [ 99%] test_elasticsearch/test_transport.py::test_unsupported_product_error_not_raised_on_non_2xx[500] PASSED [ 99%] test_elasticsearch/test_transport.py::test_api_error_raised_before_product_error[404] PASSED [ 99%] test_elasticsearch/test_transport.py::test_api_error_raised_before_product_error[500] PASSED [ 99%] test_elasticsearch/test_transport.py::test_warning_header[headers0] PASSED [ 99%] test_elasticsearch/test_transport.py::test_warning_header[headers1] PASSED [ 99%] test_elasticsearch/test_transport.py::TestServerMode::test_default_stack_mode_sends_compat_headers PASSED [ 99%] test_elasticsearch/test_transport.py::TestServerMode::test_serverless_mode_sends_api_version_header_on_get PASSED [ 99%] test_elasticsearch/test_transport.py::TestServerMode::test_serverless_mode_sends_plain_headers_on_post PASSED [ 99%] test_elasticsearch/test_transport.py::TestServerMode::test_invalid_server_mode_raises_error PASSED [ 99%] test_elasticsearch/test_transport.py::TestServerMode::test_serverless_mode_with_sniffing_raises_error PASSED [ 99%] test_elasticsearch/test_transport.py::TestServerMode::test_serverless_mode_preserved_in_options PASSED [ 99%] test_elasticsearch/test_transport.py::TestServerMode::test_serverless_mode_inherited_by_namespaces PASSED [100%] ==================================== ERRORS ==================================== _______ ERROR at setup of test_indices_analyze_unicode[asyncio-kwargs0] ________ fixturedef = request = > @pytest.hookimpl(wrapper=True) def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: if ( fixturedef.argname == "event_loop_policy" and fixturedef.func.__module__ != __name__ ): warnings.warn( PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), ) asyncio_mode = _get_asyncio_mode(request.config) if not _is_asyncio_fixture_function(fixturedef.func): if asyncio_mode == Mode.STRICT: # Ignore async fixtures without explicit asyncio mark in strict mode # This applies to pytest_trio fixtures, for example > return (yield) ^^^^^ /usr/lib/python3.15/site-packages/pytest_asyncio/plugin.py:924: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/conftest.py:30: in elasticsearch_url return es_url() ^^^^^^^^ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_indices_analyze_unicode[asyncio-kwargs1] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_bulk_works_with_string_body[asyncio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_bulk_works_with_bytestring_body[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_indices_analyze_unicode[trio-kwargs0] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_indices_analyze_unicode[trio-kwargs1] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_bulk_works_with_string_body[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_bulk_works_with_bytestring_body[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestStreamingBulk.test_actions_remain_unchanged[asyncio] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_all_documents_get_inserted[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestStreamingBulk.test_documents_data_types[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of TestStreamingBulk.test_explicit_flushes[asyncio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of TestStreamingBulk.test_timeout_flushes[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_all_errors_from_chunk_are_raised_on_failure[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestStreamingBulk.test_different_op_types[asyncio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_transport_error_can_becaught[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_rejected_documents_are_retried[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_rejected_documents_are_retried_at_most_max_retries_times[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_transport_error_is_raised_with_max_retries[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_connection_timeout_is_retried_with_retry_status_callback[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestBulk.test_bulk_works_with_single_item[asyncio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestBulk.test_all_documents_get_inserted[asyncio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestBulk.test_stats_only_reports_numbers[asyncio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestBulk.test_errors_are_reported_correctly[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of TestBulk.test_error_is_raised[asyncio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestBulk.test_ignore_error_if_raised[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestBulk.test_errors_are_collected_properly[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestScan.test_order_can_be_preserved[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestScan.test_all_documents_are_read[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of TestScan.test_scroll_error[asyncio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestScan.test_initial_search_error[asyncio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestScan.test_no_scroll_id_fast_route[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of TestScan.test_logger[asyncio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of TestScan.test_clear_scroll[asyncio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestScan.test_scan_auth_kwargs_forwarded[asyncio-kwargs0] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestScan.test_scan_auth_kwargs_forwarded[asyncio-kwargs1] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestScan.test_scan_auth_kwargs_forwarded[asyncio-kwargs2] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestScan.test_scan_auth_kwargs_favor_scroll_kwargs_option[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_scan_from_keyword_is_aliased[asyncio-scan_kwargs0] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_scan_from_keyword_is_aliased[asyncio-scan_kwargs1] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_scan_from_keyword_is_aliased[asyncio-scan_kwargs2] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_scan_from_keyword_is_aliased[asyncio-scan_kwargs3] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_scan_from_keyword_is_aliased[asyncio-scan_kwargs4] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_scan_from_keyword_is_aliased[asyncio-scan_kwargs5] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestReindex.test_reindex_passes_kwargs_to_scan_and_bulk[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestReindex.test_reindex_accepts_a_query[asyncio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestReindex.test_all_documents_get_moved[asyncio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestParentChildReindex.test_children_are_reindexed_correctly[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncDataStreamReindex.test_reindex_index_datastream[asyncio-None] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncDataStreamReindex.test_reindex_index_datastream[asyncio-create] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncDataStreamReindex.test_reindex_index_datastream_op_type_index[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestStreamingBulk.test_actions_remain_unchanged[trio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestStreamingBulk.test_all_documents_get_inserted[trio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestStreamingBulk.test_documents_data_types[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestStreamingBulk.test_explicit_flushes[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestStreamingBulk.test_timeout_flushes[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_all_errors_from_chunk_are_raised_on_failure[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of TestStreamingBulk.test_different_op_types[trio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_transport_error_can_becaught[trio] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_rejected_documents_are_retried[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_rejected_documents_are_retried_at_most_max_retries_times[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_transport_error_is_raised_with_max_retries[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestStreamingBulk.test_connection_timeout_is_retried_with_retry_status_callback[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of TestBulk.test_bulk_works_with_single_item[trio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestBulk.test_all_documents_get_inserted[trio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestBulk.test_stats_only_reports_numbers[trio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestBulk.test_errors_are_reported_correctly[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of TestBulk.test_error_is_raised[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of TestBulk.test_ignore_error_if_raised[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestBulk.test_errors_are_collected_properly[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of TestScan.test_order_can_be_preserved[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of TestScan.test_all_documents_are_read[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of TestScan.test_scroll_error[trio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of TestScan.test_initial_search_error[trio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestScan.test_no_scroll_id_fast_route[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of TestScan.test_logger[trio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of TestScan.test_clear_scroll[trio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestScan.test_scan_auth_kwargs_forwarded[trio-kwargs0] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestScan.test_scan_auth_kwargs_forwarded[trio-kwargs1] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestScan.test_scan_auth_kwargs_forwarded[trio-kwargs2] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestScan.test_scan_auth_kwargs_favor_scroll_kwargs_option[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_scan_from_keyword_is_aliased[trio-scan_kwargs0] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_scan_from_keyword_is_aliased[trio-scan_kwargs1] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_scan_from_keyword_is_aliased[trio-scan_kwargs2] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_scan_from_keyword_is_aliased[trio-scan_kwargs3] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_scan_from_keyword_is_aliased[trio-scan_kwargs4] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_scan_from_keyword_is_aliased[trio-scan_kwargs5] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestReindex.test_reindex_passes_kwargs_to_scan_and_bulk[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestReindex.test_reindex_accepts_a_query[trio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestReindex.test_all_documents_get_moved[trio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestParentChildReindex.test_children_are_reindexed_correctly[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncDataStreamReindex.test_reindex_index_datastream[trio-None] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncDataStreamReindex.test_reindex_index_datastream[trio-create] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncDataStreamReindex.test_reindex_index_datastream_op_type_index[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_mapbox_vector_tile_error[asyncio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_mapbox_vector_tile_response[asyncio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_mapbox_vector_tile_error[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_mapbox_vector_tile_response[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_elasticsearch_embedding_documents[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_elasticsearch_embedding_query[asyncio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_user_agent_default[asyncio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_elasticsearch_embedding_documents[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_elasticsearch_embedding_query[trio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_user_agent_default[trio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_without_metadata[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_without_metadata_async[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestAsyncVectorStore.test_add_vectors[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestAsyncVectorStore.test_search_with_metadata[asyncio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestAsyncVectorStore.test_search_with_filter[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestAsyncVectorStore.test_search_script_score[asyncio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_script_score_with_filter[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_script_score_distance_dot_product[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_knn_with_hybrid_search[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_knn_with_hybrid_search_rrf[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_knn_with_custom_query_fn[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_with_knn_infer_instack[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_with_sparse_infer_instack[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_deployed_model_check_fails_semantic[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestAsyncVectorStore.test_search_bm25[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_bm25_with_filter[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of TestAsyncVectorStore.test_delete[asyncio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_indexing_exception_error[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestAsyncVectorStore.test_user_agent_default[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestAsyncVectorStore.test_user_agent_custom[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestAsyncVectorStore.test_bulk_args[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_max_marginal_relevance_search_errors[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_max_marginal_relevance_search[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestAsyncVectorStore.test_metadata_mapping[asyncio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestAsyncVectorStore.test_custom_index_settings[asyncio] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_custom_index_settings_with_collision[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestAsyncVectorStore.test_search_without_metadata[trio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_without_metadata_async[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestAsyncVectorStore.test_add_vectors[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestAsyncVectorStore.test_search_with_metadata[trio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestAsyncVectorStore.test_search_with_filter[trio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestAsyncVectorStore.test_search_script_score[trio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_script_score_with_filter[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_script_score_distance_dot_product[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_knn_with_hybrid_search[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_knn_with_hybrid_search_rrf[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_knn_with_custom_query_fn[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_with_knn_infer_instack[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_search_with_sparse_infer_instack[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_deployed_model_check_fails_semantic[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestAsyncVectorStore.test_search_bm25[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestAsyncVectorStore.test_search_bm25_with_filter[trio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of TestAsyncVectorStore.test_delete[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestAsyncVectorStore.test_indexing_exception_error[trio] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestAsyncVectorStore.test_user_agent_default[trio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestAsyncVectorStore.test_user_agent_custom[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of TestAsyncVectorStore.test_bulk_args[trio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_max_marginal_relevance_search_errors[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_max_marginal_relevance_search[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of TestAsyncVectorStore.test_metadata_mapping[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestAsyncVectorStore.test_custom_index_settings[trio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestAsyncVectorStore.test_custom_index_settings_with_collision[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_simulate_with_just__builtin_tokenizer[asyncio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_simulate_complex[asyncio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_simulate_builtin[asyncio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_simulate_with_just__builtin_tokenizer[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_simulate_complex[trio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_simulate_builtin[trio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_serialization[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_nested_inner_hits_are_wrapped_properly[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_nested_inner_hits_are_deserialized_properly[asyncio] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of test_nested_top_hits_are_wrapped_properly[asyncio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_update_object_field[asyncio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_update_script[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_update_script_with_dict[asyncio] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_update_retry_on_conflict[asyncio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_update_conflicting_version[asyncio-None] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_update_conflicting_version[asyncio-0] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_save_and_update_return_doc_meta[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_init[asyncio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_get_raises_404_on_index_missing[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_get_raises_404_on_non_existent_id[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_get_returns_none_if_404_ignored[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_get_returns_none_if_404_ignored_and_index_doesnt_exist[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_get[asyncio] ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_exists_return_true[asyncio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_exists_false[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_get_with_tz_date[asyncio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_save_with_tz_date[asyncio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_mget[asyncio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mget_raises_exception_when_missing_param_is_invalid[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mget_raises_404_when_missing_param_is_raise[asyncio] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mget_ignores_missing_docs_when_missing_param_is_skip[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_update_works_from_search_response[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_update[asyncio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_save_updates_existing_doc[asyncio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_update_empty_field[asyncio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_automatically_uses_seq_no_and_primary_term[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_delete_automatically_uses_seq_no_and_primary_term[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_can_save_to_different_index[asyncio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_without_skip_empty_will_include_empty_fields[asyncio-True] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_without_skip_empty_will_include_empty_fields[asyncio-False] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_delete[asyncio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_search[asyncio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_search_returns_proper_doc_classes[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_refresh_mapping[asyncio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_highlight_in_meta[asyncio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_bulk[asyncio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_legacy_dense_vector[asyncio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_dense_vector[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_copy_to[asyncio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_serialization[trio] __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of test_nested_inner_hits_are_wrapped_properly[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of test_nested_inner_hits_are_deserialized_properly[trio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_nested_top_hits_are_wrapped_properly[trio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_update_object_field[trio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_update_script[trio] __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_update_script_with_dict[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_update_retry_on_conflict[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_update_conflicting_version[trio-None] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_update_conflicting_version[trio-0] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_save_and_update_return_doc_meta[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________________ ERROR at setup of test_init[trio] _______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_get_raises_404_on_index_missing[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_get_raises_404_on_non_existent_id[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_get_returns_none_if_404_ignored[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_get_returns_none_if_404_ignored_and_index_doesnt_exist[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________________ ERROR at setup of test_get[trio] _______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_exists_return_true[trio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_exists_false[trio] ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_get_with_tz_date[trio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_save_with_tz_date[trio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________________ ERROR at setup of test_mget[trio] _______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mget_raises_exception_when_missing_param_is_invalid[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of test_mget_raises_404_when_missing_param_is_raise[trio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mget_ignores_missing_docs_when_missing_param_is_skip[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_update_works_from_search_response[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_update[trio] ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_save_updates_existing_doc[trio] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_update_empty_field[trio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_automatically_uses_seq_no_and_primary_term[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_delete_automatically_uses_seq_no_and_primary_term[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_can_save_to_different_index[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_without_skip_empty_will_include_empty_fields[trio-True] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_without_skip_empty_will_include_empty_fields[trio-False] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_delete[trio] ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_search[trio] ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_search_returns_proper_doc_classes[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_refresh_mapping[trio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_highlight_in_meta[trio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________________ ERROR at setup of test_bulk[trio] _______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_legacy_dense_vector[trio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_dense_vector[trio] ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_copy_to[trio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_esql[asyncio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_esql_dsl[asyncio] ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________________ ERROR at setup of test_esql[trio] _______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_esql_dsl[trio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_facet_with_custom_metric[asyncio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_nested_facet[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_nested_facet_with_filter[asyncio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_datehistogram_facet[asyncio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_boolean_facet[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_empty_search_finds_everything[asyncio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_term_filters_are_shown_as_selected_and_data_is_filtered[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_range_filters_are_shown_as_selected_and_data_is_filtered[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_pagination[asyncio] __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_facet_with_custom_metric[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_nested_facet[trio] ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_nested_facet_with_filter[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_datehistogram_facet[trio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_boolean_facet[trio] __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_empty_search_finds_everything[trio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_term_filters_are_shown_as_selected_and_data_is_filtered[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_range_filters_are_shown_as_selected_and_data_is_filtered[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_pagination[trio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_index_template_works[asyncio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_composable_index_template_works[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_index_can_be_saved_even_with_settings[asyncio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_index_exists[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_index_can_be_created_with_settings_and_mappings[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_delete[asyncio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of test_multiple_indices_with_same_doc_type_work[asyncio] ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_index_template_works[trio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_composable_index_template_works[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_index_can_be_saved_even_with_settings[trio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_index_exists[trio] ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_index_can_be_created_with_settings_and_mappings[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_delete[trio] ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_multiple_indices_with_same_doc_type_work[trio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_mapping_saved_into_es[asyncio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mapping_saved_into_es_when_index_already_exists_closed[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mapping_saved_into_es_when_index_already_exists_with_analysis[asyncio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_mapping_gets_updated_from_es[asyncio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_mapping_saved_into_es[trio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mapping_saved_into_es_when_index_already_exists_closed[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mapping_saved_into_es_when_index_already_exists_with_analysis[trio] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_mapping_gets_updated_from_es[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_filters_aggregation_buckets_are_accessible[asyncio] __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_top_hits_are_wrapped_in_response[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_inner_hits_are_wrapped_in_response[asyncio] ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_inner_hits_are_serialized_to_dict[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_scan_respects_doc_types[asyncio] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_scan_iterates_through_all_docs[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_search_after[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_search_after_no_search[asyncio] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_search_after_no_sort[asyncio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_search_after_no_results[asyncio] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_point_in_time[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_iterate[asyncio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_response_is_cached[asyncio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_multi_search[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_multi_missing[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_raw_subfield_can_be_used_in_aggs[asyncio] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of test_filters_aggregation_buckets_are_accessible[trio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_top_hits_are_wrapped_in_response[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_inner_hits_are_wrapped_in_response[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_inner_hits_are_serialized_to_dict[trio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_scan_respects_doc_types[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_scan_iterates_through_all_docs[trio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_search_after[trio] ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_search_after_no_search[trio] ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_search_after_no_sort[trio] _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_search_after_no_results[trio] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_point_in_time[trio] __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_iterate[trio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_response_is_cached[trio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_multi_search[trio] ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_multi_missing[trio] __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_raw_subfield_can_be_used_in_aggs[trio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_update_by_query_no_script[asyncio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_update_by_query_with_script[asyncio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_delete_by_query_with_script[asyncio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_update_by_query_no_script[trio] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_update_by_query_with_script[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_delete_by_query_with_script[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_simulate_with_just__builtin_tokenizer _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_simulate_complex ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_simulate_builtin ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_serialization _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_nested_inner_hits_are_wrapped_properly _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_nested_inner_hits_are_deserialized_properly ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_nested_top_hits_are_wrapped_properly __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_update_object_field __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_update_script _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_update_script_with_dict ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_update_retry_on_conflict ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_update_conflicting_version[None] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_update_conflicting_version[0] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_save_and_update_return_doc_meta ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________________ ERROR at setup of test_init __________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_get_raises_404_on_index_missing ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_get_raises_404_on_non_existent_id ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_get_returns_none_if_404_ignored ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_get_returns_none_if_404_ignored_and_index_doesnt_exist _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________________ ERROR at setup of test_get __________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_exists_return_true ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_exists_false ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_get_with_tz_date ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_save_with_tz_date ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________________ ERROR at setup of test_mget __________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of test_mget_raises_exception_when_missing_param_is_invalid __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_mget_raises_404_when_missing_param_is_raise ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mget_ignores_missing_docs_when_missing_param_is_skip __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_update_works_from_search_response ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________________ ERROR at setup of test_update _________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_save_updates_existing_doc _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_update_empty_field ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_save_automatically_uses_seq_no_and_primary_term ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of test_delete_automatically_uses_seq_no_and_primary_term ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_can_save_to_different_index ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_without_skip_empty_will_include_empty_fields[True] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_save_without_skip_empty_will_include_empty_fields[False] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________________ ERROR at setup of test_delete _________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________________ ERROR at setup of test_search _________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_search_returns_proper_doc_classes ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_refresh_mapping ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_highlight_in_meta ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________________ ERROR at setup of test_bulk __________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_legacy_dense_vector __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_dense_vector ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________________ ERROR at setup of test_copy_to ________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________________ ERROR at setup of test_esql __________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________________ ERROR at setup of test_esql_dsl ________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_facet_with_custom_metric ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_nested_facet ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_nested_facet_with_filter ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_datehistogram_facet __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_boolean_facet _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_empty_search_finds_everything _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_term_filters_are_shown_as_selected_and_data_is_filtered _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_range_filters_are_shown_as_selected_and_data_is_filtered _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________________ ERROR at setup of test_pagination _______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_index_template_works __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_composable_index_template_works ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_index_can_be_saved_even_with_settings _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_index_exists ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_index_can_be_created_with_settings_and_mappings ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________________ ERROR at setup of test_delete _________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of test_multiple_indices_with_same_doc_type_work ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_mapping_saved_into_es _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mapping_saved_into_es_when_index_already_exists_closed _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_mapping_saved_into_es_when_index_already_exists_with_analysis _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_mapping_gets_updated_from_es ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_filters_aggregation_buckets_are_accessible _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_top_hits_are_wrapped_in_response ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_inner_hits_are_wrapped_in_response ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_inner_hits_are_serialized_to_dict ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_scan_respects_doc_types ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_scan_iterates_through_all_docs _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_search_after ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_search_after_no_search _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_search_after_no_sort __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_search_after_no_results ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_point_in_time _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________________ ERROR at setup of test_iterate ________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_response_is_cached ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_multi_search ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_multi_missing _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_raw_subfield_can_be_used_in_aggs ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_update_by_query_no_script _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_update_by_query_with_script ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_delete_by_query_with_script ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________________ ERROR at setup of test_count_all _______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_count_prefetch _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_count_filter ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_alias_migration[asyncio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_alias_migration[trio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of test_person_suggests_on_all_variants_of_name[asyncio] ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of test_person_suggests_on_all_variants_of_name[trio] _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_scan_aggs_exhausts_all_files[asyncio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_scan_aggs_with_multiple_aggs[asyncio] _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_scan_aggs_exhausts_all_files[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_scan_aggs_with_multiple_aggs[trio] ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_comment[asyncio] ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_question_answer[asyncio] ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_comment[trio] _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_question_answer[trio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_post_gets_tagged_automatically[asyncio] ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of test_post_gets_tagged_automatically[trio] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_vector_search[asyncio] _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_vector_search[trio] __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_alias_migration ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_person_suggests_on_all_variants_of_name ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_scan_aggs_exhausts_all_files ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_scan_aggs_with_multiple_aggs ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________________ ERROR at setup of test_comment ________________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_question_answer ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_post_gets_tagged_automatically _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_vector_search _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_indices_analyze_unicode[kwargs0] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_indices_analyze_unicode[kwargs1] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_bulk_works_with_string_body ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_bulk_works_with_bytestring_body ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_bulk_actions_remain_unchanged _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_bulk_all_documents_get_inserted ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________________ ERROR at setup of test_explicit_flushes ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_timeout_flushes ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of test_bulk_all_errors_from_chunk_are_raised_on_failure ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_bulk_different_op_types ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_bulk_transport_error_can_becaught ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_bulk_rejected_documents_are_retried __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_bulk_rejected_documents_are_retried_when_bytes_or_string[False] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_bulk_rejected_documents_are_retried_when_bytes_or_string[True] _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_bulk_rejected_documents_are_retried_at_most_max_retries_times _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of test_bulk_transport_error_is_raised_with_max_retries ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of test_connection_timeout_is_retried_with_retry_status_callback _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_bulk_works_with_single_item ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_all_documents_get_inserted _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_stats_only_reports_numbers _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_errors_are_reported_correctly _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_error_is_raised ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_ignore_error_if_raised _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_errors_are_collected_properly _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_order_can_be_preserved _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_all_documents_are_read _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_scroll_error ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________________ ERROR at setup of test_initial_search_error __________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_no_scroll_id_fast_route ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_scan_auth_kwargs_forwarded[kwargs0] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_scan_auth_kwargs_forwarded[kwargs1] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_scan_auth_kwargs_forwarded[kwargs2] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_scan_auth_kwargs_forwarded[kwargs3] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of test_scan_auth_kwargs_forwarded[kwargs4] __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_scan_auth_kwargs_favor_scroll_kwargs_option ______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_log_warning_on_shard_failures _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_clear_scroll ______________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_shards_no_skipped_field ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_scan_from_keyword_is_aliased[scan_kwargs0] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_scan_from_keyword_is_aliased[scan_kwargs1] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_scan_from_keyword_is_aliased[scan_kwargs2] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_scan_from_keyword_is_aliased[scan_kwargs3] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_scan_from_keyword_is_aliased[scan_kwargs4] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ ERROR at setup of test_scan_from_keyword_is_aliased[scan_kwargs5] _______ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_reindex_passes_kwargs_to_scan_and_bulk _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_reindex_accepts_a_query ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of test_all_documents_get_moved ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_children_are_reindexed_correctly ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________ ERROR at setup of test_reindex_index_datastream[None] _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_reindex_index_datastream[create] ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of test_reindex_index_datastream_op_type_index _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of test_mapbox_vector_tile_error ________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of test_mapbox_vector_tile_response ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________________ ERROR at setup of test_text_response _____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_object_response ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ ERROR at setup of test_exists_response ____________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of test_elasticsearch_embedding_documents ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____________ ERROR at setup of test_elasticsearch_embedding_query _____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ ERROR at setup of test_user_agent_default ___________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestVectorStore.test_search_without_metadata ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestVectorStore.test_search_without_metadata_async _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of TestVectorStore.test_add_vectors ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of TestVectorStore.test_search_with_metadata __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of TestVectorStore.test_search_with_filter ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of TestVectorStore.test_search_script_score __________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestVectorStore.test_search_script_score_with_filter ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestVectorStore.test_search_script_score_distance_dot_product _ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestVectorStore.test_search_knn_with_hybrid_search _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestVectorStore.test_search_knn_with_hybrid_search_rrf ___ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____ ERROR at setup of TestVectorStore.test_search_knn_with_custom_query_fn ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestVectorStore.test_search_with_knn_infer_instack _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ ERROR at setup of TestVectorStore.test_search_with_sparse_infer_instack ____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __ ERROR at setup of TestVectorStore.test_deployed_model_check_fails_semantic __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______________ ERROR at setup of TestVectorStore.test_search_bm25 ______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________ ERROR at setup of TestVectorStore.test_search_bm25_with_filter ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ________________ ERROR at setup of TestVectorStore.test_delete _________________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______ ERROR at setup of TestVectorStore.test_indexing_exception_error ________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________ ERROR at setup of TestVectorStore.test_user_agent_default ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of TestVectorStore.test_user_agent_custom ___________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _______________ ERROR at setup of TestVectorStore.test_bulk_args _______________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestVectorStore.test_max_marginal_relevance_search_errors __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ ERROR at setup of TestVectorStore.test_max_marginal_relevance_search _____ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___________ ERROR at setup of TestVectorStore.test_metadata_mapping ____________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _________ ERROR at setup of TestVectorStore.test_custom_index_settings _________ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ ERROR at setup of TestVectorStore.test_custom_index_settings_with_collision __ @pytest.fixture(scope="session") def elasticsearch_url(): try: > return es_url() ^^^^^^^^ test_elasticsearch/conftest.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_elasticsearch/utils.py:56: in es_url client = Elasticsearch(url, ca_certs=CA_CERTS, verify_certs=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError =================================== FAILURES =================================== _____ TestRewriteParameters.test_positional_argument_error[Elasticsearch] ______ self = client_cls = @pytest.mark.parametrize("client_cls", [Elasticsearch, AsyncElasticsearch]) def test_positional_argument_error(self, client_cls): > client = client_cls("https://localhost:9200") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_elasticsearch/test_client/test_rewrite_parameters.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ TestRewriteParameters.test_positional_argument_error[AsyncElasticsearch] ___ self = client_cls = @pytest.mark.parametrize("client_cls", [Elasticsearch, AsyncElasticsearch]) def test_positional_argument_error(self, client_cls): > client = client_cls("https://localhost:9200") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_elasticsearch/test_client/test_rewrite_parameters.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_async/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_async_transport.py:159: in __init__ super().__init__( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_aiohttp.py:94: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ TestSerializers.test_compat_serializers_used_when_given_non_compat[json] ___ self = mime_subtype = 'json' @pytest.mark.parametrize("mime_subtype", ["json", "x-ndjson"]) def test_compat_serializers_used_when_given_non_compat( self, mime_subtype: str ) -> None: class CustomSerializer: pass ser = CustomSerializer() > client = Elasticsearch( "https://localhost:9200", serializers={f"application/{mime_subtype}": ser} ) test_elasticsearch/test_client/test_serializers.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _ TestSerializers.test_compat_serializers_used_when_given_non_compat[x-ndjson] _ self = mime_subtype = 'x-ndjson' @pytest.mark.parametrize("mime_subtype", ["json", "x-ndjson"]) def test_compat_serializers_used_when_given_non_compat( self, mime_subtype: str ) -> None: class CustomSerializer: pass ser = CustomSerializer() > client = Elasticsearch( "https://localhost:9200", serializers={f"application/{mime_subtype}": ser} ) test_elasticsearch/test_client/test_serializers.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError _____ TestSerializers.test_compat_serializers_used_when_given_compat[json] _____ self = mime_subtype = 'json' @pytest.mark.parametrize("mime_subtype", ["json", "x-ndjson"]) def test_compat_serializers_used_when_given_compat(self, mime_subtype: str) -> None: class CustomSerializer: pass ser1 = CustomSerializer() ser2 = CustomSerializer() > client = Elasticsearch( "https://localhost:9200", serializers={ f"application/{mime_subtype}": ser1, f"application/vnd.elasticsearch+{mime_subtype}": ser2, }, ) test_elasticsearch/test_client/test_serializers.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ___ TestSerializers.test_compat_serializers_used_when_given_compat[x-ndjson] ___ self = mime_subtype = 'x-ndjson' @pytest.mark.parametrize("mime_subtype", ["json", "x-ndjson"]) def test_compat_serializers_used_when_given_compat(self, mime_subtype: str) -> None: class CustomSerializer: pass ser1 = CustomSerializer() ser2 = CustomSerializer() > client = Elasticsearch( "https://localhost:9200", serializers={ f"application/{mime_subtype}": ser1, f"application/vnd.elasticsearch+{mime_subtype}": ser2, }, ) test_elasticsearch/test_client/test_serializers.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ______ TestSerializers.test_compat_serializer_used_when_given_non_compat _______ self = def test_compat_serializer_used_when_given_non_compat(self) -> None: class CustomSerializer: mimetype: str = "application/json" ser = CustomSerializer() > client = Elasticsearch("https://localhost:9200", serializer=ser) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_elasticsearch/test_client/test_serializers.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='localhost', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError __________________ test_create_connection_adds_our_serializer __________________ def test_create_connection_adds_our_serializer() -> None: c = connections.Connections[Elasticsearch](elasticsearch_class=Elasticsearch) > c.create_connection("testing", hosts=["https://es.com:9200"]) test_elasticsearch/test_dsl/test_connections.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/connections.py:87: in create_connection conn = self._conns[alias] = self.elasticsearch_class(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='es.com', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1 (P..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError ____________________ test_connection_has_correct_user_agent ____________________ def test_connection_has_correct_user_agent() -> None: c = connections.Connections[Elasticsearch](elasticsearch_class=Elasticsearch) > c.create_connection("testing", hosts=["https://es.com:9200"]) test_elasticsearch/test_dsl/test_connections.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/connections.py:87: in create_connection conn = self._conns[alias] = self.elasticsearch_class(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/_sync/client/__init__.py:328: in __init__ _transport = transport_class( /usr/lib/python3.15/site-packages/elastic_transport/_transport.py:262: in __init__ self.node_pool: NodePool = node_pool_class( /usr/lib/python3.15/site-packages/elastic_transport/_node_pool.py:188: in __init__ self._all_nodes[node_config] = self._node_class(node_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/elastic_transport/_node/_http_urllib3.py:65: in __init__ ssl_context = ssl_context_from_node_config(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node_config = NodeConfig(scheme='https', host='es.com', port=9200, path_prefix='', headers={'user-agent': 'elasticsearch-py/9.4.1 (P..._assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={}) def ssl_context_from_node_config(node_config: NodeConfig) -> ssl.SSLContext: if node_config.ssl_context: ctx = node_config.ssl_context else: ctx = ssl.create_default_context() # Enable/disable certificate verification in these orders # to avoid 'ValueErrors' from SSLContext. We only do this # step if the user doesn't pass a preconfigured SSLContext. if node_config.verify_certs: ctx.verify_mode = ssl.CERT_REQUIRED ctx.check_hostname = not is_ipaddress(node_config.host) else: ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE # Enable logging of TLS session keys for use with Wireshark. if hasattr(ctx, "keylog_filename"): sslkeylogfile = os.environ.get("SSLKEYLOGFILE", "") if sslkeylogfile: ctx.keylog_filename = sslkeylogfile # Apply the 'ssl_version' if given, otherwise default to TLSv1.2+ ssl_version = node_config.ssl_version if ssl_version is None: if _HAS_TLS_VERSION: ssl_version = ssl.TLSVersion.TLSv1_2 else: ssl_version = ssl.PROTOCOL_TLSv1_2 try: if _HAS_TLS_VERSION: ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version] else: ctx.options |= _SSL_PROTOCOL_VERSION_TO_OPTIONS[ssl_version] except KeyError: > raise ValueError( f"Unsupported value for 'ssl_version': {ssl_version!r}. Must be " "either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX'" ) from None E ValueError: Unsupported value for 'ssl_version': . Must be either 'ssl.PROTOCOL_TLSvX' or 'ssl.TLSVersion.TLSvX' /usr/lib/python3.15/site-packages/elastic_transport/_node/_base.py:331: ValueError =============================== warnings summary =============================== test_elasticsearch/test_server/test_rest_api_spec.py:600 /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_server/test_rest_api_spec.py:600: UserWarning: Could not load REST API tests: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/elastic/elasticsearch-clients-tests/zipball//bin/sh:%20line%201:%20git:%20command%20not%20found (Caused by NameResolutionError("HTTPSConnection(host='api.github.com', port=443): Failed to resolve 'api.github.com' ([Errno -3] Temporary failure in name resolution)")) warnings.warn(f"Could not load REST API tests: {str(e)}") test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed[asyncio] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed[trio] /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_async/test_transport.py:186: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters. await client.info(params={"request_timeout": 42}) test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed[asyncio] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed[trio] /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_async/test_transport.py:186: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. await client.info(params={"request_timeout": 42}) test_elasticsearch/test_async/test_transport.py::TestTransport::test_opaque_id[asyncio] test_elasticsearch/test_async/test_transport.py::TestTransport::test_opaque_id[trio] /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_async/test_transport.py:207: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. await client.info(opaque_id="request-2") test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_custom_user_agent_header[asyncio] test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_custom_user_agent_header[trio] /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_async/test_transport.py:218: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. await client.info(headers={"User-Agent": "my-custom-value/1.2.3"}) test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header[asyncio] test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header[trio] /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_async/test_transport.py:241: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. await client.info(headers={"CustoM": "header"}) test_elasticsearch/test_client/test_options.py::TestOptions::test_user_agent_override /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_client/test_options.py:378: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. client.indices.get(index="2", headers={"user-agent": "custom2"}) test_elasticsearch/test_client/test_options.py::TestOptions::test_user_agent_override /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_client/test_options.py:399: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. client.indices.get(index="2", headers={"user-agent": "custom4"}) test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_default_params_conflict /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_client/test_rewrite_parameters.py:88: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters. self.wrapped_func_default( test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_facet_with_1970_01_01_date test_elasticsearch/test_dsl/_async/test_faceted_search.py::test_date_histogram_facet_with_1970_01_01_date test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_facet_with_1970_01_01_date test_elasticsearch/test_dsl/_sync/test_faceted_search.py::test_date_histogram_facet_with_1970_01_01_date /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/faceted_search_base.py:246: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). return datetime.utcfromtimestamp(int(cast(int, bucket["key"])) / 1000.0) test_elasticsearch/test_dsl/test_result.py::test_bucket_keys_get_deserialized test_elasticsearch/test_dsl/test_result.py::test_bucket_keys_get_deserialized test_elasticsearch/test_dsl/test_result.py::test_bucket_keys_get_deserialized /builddir/build/BUILD/python-elasticsearch-9.4.1-build/BUILDROOT/usr/lib/python3.15/site-packages/elasticsearch/dsl/field.py:1352: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). return datetime.utcfromtimestamp(data / 1000.0) test_elasticsearch/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_transport.py:177: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters. client.info(params={"request_timeout": 42}) test_elasticsearch/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_transport.py:177: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. client.info(params={"request_timeout": 42}) test_elasticsearch/test_transport.py::TestTransport::test_opaque_id /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_transport.py:198: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. client.info(opaque_id="request-2") test_elasticsearch/test_transport.py::TestTransport::test_request_with_custom_user_agent_header /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_transport.py:217: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. client.info(headers={"User-Agent": "my-custom-value/1.2.3"}) test_elasticsearch/test_transport.py::TestTransport::test_client_meta_header /builddir/build/BUILD/python-elasticsearch-9.4.1-build/elasticsearch-py-9.4.1/test_elasticsearch/test_transport.py:252: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead. client.info(headers={"CustoM": "header"}) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_positional_argument_error[Elasticsearch] FAILED test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_positional_argument_error[AsyncElasticsearch] FAILED test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_non_compat[json] FAILED test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_non_compat[x-ndjson] FAILED test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_compat[json] FAILED test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializers_used_when_given_compat[x-ndjson] FAILED test_elasticsearch/test_client/test_serializers.py::TestSerializers::test_compat_serializer_used_when_given_non_compat FAILED test_elasticsearch/test_dsl/test_connections.py::test_create_connection_adds_our_serializer FAILED test_elasticsearch/test_dsl/test_connections.py::test_connection_has_correct_user_agent ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[asyncio-kwargs0] ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[asyncio-kwargs1] ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_string_body[asyncio] ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_bytestring_body[asyncio] ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[trio-kwargs0] ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[trio-kwargs1] ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_string_body[trio] ERROR test_elasticsearch/test_async/test_server/test_clients.py::test_bulk_works_with_bytestring_body[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_actions_remain_unchanged[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_documents_get_inserted[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_documents_data_types[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_explicit_flushes[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_timeout_flushes[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_errors_from_chunk_are_raised_on_failure[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_different_op_types[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_can_becaught[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried_at_most_max_retries_times[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_is_raised_with_max_retries[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_connection_timeout_is_retried_with_retry_status_callback[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_bulk_works_with_single_item[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_all_documents_get_inserted[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_stats_only_reports_numbers[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_reported_correctly[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_error_is_raised[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_ignore_error_if_raised[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_collected_properly[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_order_can_be_preserved[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_all_documents_are_read[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scroll_error[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_initial_search_error[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_no_scroll_id_fast_route[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_logger[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_clear_scroll[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[asyncio-kwargs0] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[asyncio-kwargs1] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[asyncio-kwargs2] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_favor_scroll_kwargs_option[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs0] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs1] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs2] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs3] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs4] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[asyncio-scan_kwargs5] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_passes_kwargs_to_scan_and_bulk[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_accepts_a_query[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_all_documents_get_moved[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestParentChildReindex::test_children_are_reindexed_correctly[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[asyncio-None] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[asyncio-create] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream_op_type_index[asyncio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_actions_remain_unchanged[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_documents_get_inserted[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_documents_data_types[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_explicit_flushes[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_timeout_flushes[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_all_errors_from_chunk_are_raised_on_failure[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_different_op_types[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_can_becaught[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_rejected_documents_are_retried_at_most_max_retries_times[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_transport_error_is_raised_with_max_retries[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestStreamingBulk::test_connection_timeout_is_retried_with_retry_status_callback[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_bulk_works_with_single_item[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_all_documents_get_inserted[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_stats_only_reports_numbers[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_reported_correctly[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_error_is_raised[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_ignore_error_if_raised[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestBulk::test_errors_are_collected_properly[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_order_can_be_preserved[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_all_documents_are_read[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scroll_error[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_initial_search_error[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_no_scroll_id_fast_route[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_logger[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_clear_scroll[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[trio-kwargs0] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[trio-kwargs1] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded[trio-kwargs2] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_favor_scroll_kwargs_option[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs0] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs1] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs2] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs3] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs4] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[trio-scan_kwargs5] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_passes_kwargs_to_scan_and_bulk[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_reindex_accepts_a_query[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestReindex::test_all_documents_get_moved[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestParentChildReindex::test_children_are_reindexed_correctly[trio] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[trio-None] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[trio-create] ERROR test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream_op_type_index[trio] ERROR test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_error[asyncio] ERROR test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_response[asyncio] ERROR test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_error[trio] ERROR test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_response[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_documents[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_query[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_user_agent_default[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_documents[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_query[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_embedding_service.py::test_user_agent_default[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata_async[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_add_vectors[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_metadata[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_filter[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_with_filter[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_distance_dot_product[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search_rrf[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_custom_query_fn[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_knn_infer_instack[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_sparse_infer_instack[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_deployed_model_check_fails_semantic[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25_with_filter[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_delete[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_indexing_exception_error[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_default[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_custom[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_bulk_args[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search_errors[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_metadata_mapping[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings_with_collision[asyncio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_without_metadata_async[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_add_vectors[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_metadata[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_filter[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_with_filter[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_script_score_distance_dot_product[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_hybrid_search_rrf[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_knn_with_custom_query_fn[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_knn_infer_instack[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_with_sparse_infer_instack[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_deployed_model_check_fails_semantic[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_search_bm25_with_filter[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_delete[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_indexing_exception_error[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_default[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_user_agent_custom[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_bulk_args[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search_errors[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_max_marginal_relevance_search[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_metadata_mapping[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings[trio] ERROR test_elasticsearch/test_async/test_server/test_vectorstore/test_vectorstore.py::TestAsyncVectorStore::test_custom_index_settings_with_collision[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_with_just__builtin_tokenizer[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_complex[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_builtin[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_with_just__builtin_tokenizer[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_complex[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_analysis.py::test_simulate_builtin[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_serialization[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_wrapped_properly[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_deserialized_properly[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_top_hits_are_wrapped_properly[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_object_field[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script_with_dict[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_retry_on_conflict[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[asyncio-None] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[asyncio-0] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_and_update_return_doc_meta[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_init[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_index_missing[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_non_existent_id[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored_and_index_doesnt_exist[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_return_true[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_false[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_with_tz_date[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_with_tz_date[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_exception_when_missing_param_is_invalid[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_404_when_missing_param_is_raise[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_ignores_missing_docs_when_missing_param_is_skip[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_works_from_search_response[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_updates_existing_doc[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_empty_field[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_automatically_uses_seq_no_and_primary_term[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete_automatically_uses_seq_no_and_primary_term[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_can_save_to_different_index[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[asyncio-True] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[asyncio-False] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search_returns_proper_doc_classes[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_refresh_mapping[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_highlight_in_meta[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_bulk[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_legacy_dense_vector[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_dense_vector[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_copy_to[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_serialization[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_wrapped_properly[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_inner_hits_are_deserialized_properly[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_nested_top_hits_are_wrapped_properly[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_object_field[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_script_with_dict[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_retry_on_conflict[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[trio-None] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_conflicting_version[trio-0] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_and_update_return_doc_meta[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_init[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_index_missing[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_raises_404_on_non_existent_id[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_returns_none_if_404_ignored_and_index_doesnt_exist[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_return_true[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_exists_false[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_get_with_tz_date[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_with_tz_date[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_exception_when_missing_param_is_invalid[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_raises_404_when_missing_param_is_raise[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_mget_ignores_missing_docs_when_missing_param_is_skip[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_works_from_search_response[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_updates_existing_doc[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_update_empty_field[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_automatically_uses_seq_no_and_primary_term[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete_automatically_uses_seq_no_and_primary_term[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_can_save_to_different_index[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[trio-True] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_save_without_skip_empty_will_include_empty_fields[trio-False] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_delete[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_search_returns_proper_doc_classes[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_refresh_mapping[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_highlight_in_meta[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_bulk[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_legacy_dense_vector[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_dense_vector[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_document.py::test_copy_to[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql_dsl[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_esql.py::test_esql_dsl[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_facet_with_custom_metric[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet_with_filter[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_datehistogram_facet[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_boolean_facet[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_empty_search_finds_everything[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_term_filters_are_shown_as_selected_and_data_is_filtered[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_range_filters_are_shown_as_selected_and_data_is_filtered[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_pagination[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_facet_with_custom_metric[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_nested_facet_with_filter[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_datehistogram_facet[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_boolean_facet[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_empty_search_finds_everything[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_term_filters_are_shown_as_selected_and_data_is_filtered[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_range_filters_are_shown_as_selected_and_data_is_filtered[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_faceted_search.py::test_pagination[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_template_works[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_composable_index_template_works[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_saved_even_with_settings[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_exists[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_created_with_settings_and_mappings[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_delete[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_multiple_indices_with_same_doc_type_work[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_template_works[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_composable_index_template_works[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_saved_even_with_settings[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_exists[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_index_can_be_created_with_settings_and_mappings[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_delete[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_index.py::test_multiple_indices_with_same_doc_type_work[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_closed[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_with_analysis[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_gets_updated_from_es[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_closed[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_with_analysis[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_mapping.py::test_mapping_gets_updated_from_es[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_filters_aggregation_buckets_are_accessible[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_top_hits_are_wrapped_in_response[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_wrapped_in_response[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_serialized_to_dict[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_respects_doc_types[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_iterates_through_all_docs[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_search[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_sort[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_results[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_point_in_time[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_iterate[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_response_is_cached[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_search[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_missing[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_raw_subfield_can_be_used_in_aggs[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_filters_aggregation_buckets_are_accessible[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_top_hits_are_wrapped_in_response[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_wrapped_in_response[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_inner_hits_are_serialized_to_dict[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_respects_doc_types[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_scan_iterates_through_all_docs[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_search[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_sort[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_search_after_no_results[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_point_in_time[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_iterate[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_response_is_cached[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_search[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_multi_missing[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_search.py::test_raw_subfield_can_be_used_in_aggs[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_no_script[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_with_script[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_delete_by_query_with_script[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_no_script[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_update_by_query_with_script[trio] ERROR test_elasticsearch/test_dsl/test_integration/_async/test_update_by_query.py::test_delete_by_query_with_script[trio] ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_analysis.py::test_simulate_with_just__builtin_tokenizer ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_analysis.py::test_simulate_complex ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_analysis.py::test_simulate_builtin ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_serialization ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_nested_inner_hits_are_wrapped_properly ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_nested_inner_hits_are_deserialized_properly ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_nested_top_hits_are_wrapped_properly ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_object_field ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_script ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_script_with_dict ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_retry_on_conflict ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_conflicting_version[None] ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_conflicting_version[0] ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_and_update_return_doc_meta ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_init ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_raises_404_on_index_missing ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_raises_404_on_non_existent_id ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_returns_none_if_404_ignored ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_returns_none_if_404_ignored_and_index_doesnt_exist ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_exists_return_true ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_exists_false ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_get_with_tz_date ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_with_tz_date ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget_raises_exception_when_missing_param_is_invalid ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget_raises_404_when_missing_param_is_raise ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_mget_ignores_missing_docs_when_missing_param_is_skip ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_works_from_search_response ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_updates_existing_doc ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_update_empty_field ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_automatically_uses_seq_no_and_primary_term ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_delete_automatically_uses_seq_no_and_primary_term ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_can_save_to_different_index ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_without_skip_empty_will_include_empty_fields[True] ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_save_without_skip_empty_will_include_empty_fields[False] ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_delete ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_search ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_search_returns_proper_doc_classes ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_refresh_mapping ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_highlight_in_meta ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_bulk ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_legacy_dense_vector ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_dense_vector ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_document.py::test_copy_to ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_esql.py::test_esql ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_esql.py::test_esql_dsl ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_facet_with_custom_metric ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_nested_facet ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_nested_facet_with_filter ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_datehistogram_facet ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_boolean_facet ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_empty_search_finds_everything ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_term_filters_are_shown_as_selected_and_data_is_filtered ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_range_filters_are_shown_as_selected_and_data_is_filtered ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_faceted_search.py::test_pagination ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_template_works ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_composable_index_template_works ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_can_be_saved_even_with_settings ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_exists ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_index_can_be_created_with_settings_and_mappings ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_delete ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_index.py::test_multiple_indices_with_same_doc_type_work ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_saved_into_es ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_closed ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_saved_into_es_when_index_already_exists_with_analysis ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_mapping.py::test_mapping_gets_updated_from_es ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_filters_aggregation_buckets_are_accessible ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_top_hits_are_wrapped_in_response ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_inner_hits_are_wrapped_in_response ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_inner_hits_are_serialized_to_dict ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_scan_respects_doc_types ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_scan_iterates_through_all_docs ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after_no_search ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after_no_sort ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_search_after_no_results ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_point_in_time ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_iterate ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_response_is_cached ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_multi_search ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_multi_missing ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_search.py::test_raw_subfield_can_be_used_in_aggs ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_update_by_query.py::test_update_by_query_no_script ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_update_by_query.py::test_update_by_query_with_script ERROR test_elasticsearch/test_dsl/test_integration/_sync/test_update_by_query.py::test_delete_by_query_with_script ERROR test_elasticsearch/test_dsl/test_integration/test_count.py::test_count_all ERROR test_elasticsearch/test_dsl/test_integration/test_count.py::test_count_prefetch ERROR test_elasticsearch/test_dsl/test_integration/test_count.py::test_count_filter ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_alias_migration.py::test_alias_migration[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_alias_migration.py::test_alias_migration[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_completion.py::test_person_suggests_on_all_variants_of_name[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_completion.py::test_person_suggests_on_all_variants_of_name[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_exhausts_all_files[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_with_multiple_aggs[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_exhausts_all_files[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_composite_aggs.py::test_scan_aggs_with_multiple_aggs[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_comment[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_question_answer[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_comment[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_parent_child.py::test_question_answer[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_percolate.py::test_post_gets_tagged_automatically[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_percolate.py::test_post_gets_tagged_automatically[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_vectors.py::test_vector_search[asyncio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_vectors.py::test_vector_search[trio] ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_alias_migration.py::test_alias_migration ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_completion.py::test_person_suggests_on_all_variants_of_name ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_composite_aggs.py::test_scan_aggs_exhausts_all_files ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_composite_aggs.py::test_scan_aggs_with_multiple_aggs ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_parent_child.py::test_comment ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_parent_child.py::test_question_answer ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_percolate.py::test_post_gets_tagged_automatically ERROR test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_vectors.py::test_vector_search ERROR test_elasticsearch/test_server/test_clients.py::test_indices_analyze_unicode[kwargs0] ERROR test_elasticsearch/test_server/test_clients.py::test_indices_analyze_unicode[kwargs1] ERROR test_elasticsearch/test_server/test_clients.py::test_bulk_works_with_string_body ERROR test_elasticsearch/test_server/test_clients.py::test_bulk_works_with_bytestring_body ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_actions_remain_unchanged ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_all_documents_get_inserted ERROR test_elasticsearch/test_server/test_helpers.py::test_explicit_flushes ERROR test_elasticsearch/test_server/test_helpers.py::test_timeout_flushes - ... ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_all_errors_from_chunk_are_raised_on_failure ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_different_op_types ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_transport_error_can_becaught ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried_when_bytes_or_string[False] ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried_when_bytes_or_string[True] ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_rejected_documents_are_retried_at_most_max_retries_times ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_transport_error_is_raised_with_max_retries ERROR test_elasticsearch/test_server/test_helpers.py::test_connection_timeout_is_retried_with_retry_status_callback ERROR test_elasticsearch/test_server/test_helpers.py::test_bulk_works_with_single_item ERROR test_elasticsearch/test_server/test_helpers.py::test_all_documents_get_inserted ERROR test_elasticsearch/test_server/test_helpers.py::test_stats_only_reports_numbers ERROR test_elasticsearch/test_server/test_helpers.py::test_errors_are_reported_correctly ERROR test_elasticsearch/test_server/test_helpers.py::test_error_is_raised - ... ERROR test_elasticsearch/test_server/test_helpers.py::test_ignore_error_if_raised ERROR test_elasticsearch/test_server/test_helpers.py::test_errors_are_collected_properly ERROR test_elasticsearch/test_server/test_helpers.py::test_order_can_be_preserved ERROR test_elasticsearch/test_server/test_helpers.py::test_all_documents_are_read ERROR test_elasticsearch/test_server/test_helpers.py::test_scroll_error - Val... ERROR test_elasticsearch/test_server/test_helpers.py::test_initial_search_error ERROR test_elasticsearch/test_server/test_helpers.py::test_no_scroll_id_fast_route ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs0] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs1] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs2] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs3] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_forwarded[kwargs4] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_auth_kwargs_favor_scroll_kwargs_option ERROR test_elasticsearch/test_server/test_helpers.py::test_log_warning_on_shard_failures ERROR test_elasticsearch/test_server/test_helpers.py::test_clear_scroll - Val... ERROR test_elasticsearch/test_server/test_helpers.py::test_shards_no_skipped_field ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs0] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs1] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs2] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs3] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs4] ERROR test_elasticsearch/test_server/test_helpers.py::test_scan_from_keyword_is_aliased[scan_kwargs5] ERROR test_elasticsearch/test_server/test_helpers.py::test_reindex_passes_kwargs_to_scan_and_bulk ERROR test_elasticsearch/test_server/test_helpers.py::test_reindex_accepts_a_query ERROR test_elasticsearch/test_server/test_helpers.py::test_all_documents_get_moved ERROR test_elasticsearch/test_server/test_helpers.py::test_children_are_reindexed_correctly ERROR test_elasticsearch/test_server/test_helpers.py::test_reindex_index_datastream[None] ERROR test_elasticsearch/test_server/test_helpers.py::test_reindex_index_datastream[create] ERROR test_elasticsearch/test_server/test_helpers.py::test_reindex_index_datastream_op_type_index ERROR test_elasticsearch/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_error ERROR test_elasticsearch/test_server/test_mapbox_vector_tile.py::test_mapbox_vector_tile_response ERROR test_elasticsearch/test_server/test_responses.py::test_text_response - ... ERROR test_elasticsearch/test_server/test_responses.py::test_object_response ERROR test_elasticsearch/test_server/test_responses.py::test_exists_response ERROR test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_documents ERROR test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py::test_elasticsearch_embedding_query ERROR test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py::test_user_agent_default ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_without_metadata ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_without_metadata_async ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_add_vectors ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_metadata ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_filter ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_script_score ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_script_score_with_filter ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_script_score_distance_dot_product ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_knn_with_hybrid_search ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_knn_with_hybrid_search_rrf ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_knn_with_custom_query_fn ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_knn_infer_instack ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_with_sparse_infer_instack ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_deployed_model_check_fails_semantic ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_bm25 ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_search_bm25_with_filter ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_delete ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_indexing_exception_error ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_user_agent_default ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_user_agent_custom ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_bulk_args ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_max_marginal_relevance_search_errors ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_max_marginal_relevance_search ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_metadata_mapping ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_custom_index_settings ERROR test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py::TestVectorStore::test_custom_index_settings_with_collision ===== 9 failed, 880 passed, 19 skipped, 26 warnings, 529 errors in 43.43s ====== error: Bad exit status from /var/tmp/rpm-tmp.nZjvKf (%check) Bad exit status from /var/tmp/rpm-tmp.nZjvKf (%check) RPM build errors: Finish: rpmbuild python-elasticsearch-9.4.1-2.fc46.src.rpm Finish: build phase for python-elasticsearch-9.4.1-2.fc46.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1787260494.865673/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/python-elasticsearch-9.4.1-2.fc46.src.rpm) Config(fedora-rawhide-x86_64) 1 minutes 25 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 483640ec771f4555aeb85d0048961016 -D /var/lib/mock/fedora-rawhide-x86_64-1787260494.865673/root -a -u mockbuild --capability=cap_ipc_lock --capability=cap_ipc_lock --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --resolv-conf=off --resolv-conf=off --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 bash --login -c '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/originals/python-elasticsearch.spec' Copr build error: Build failed