Warning: Permanently added '13.121.85.98' (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-s390x --chroot fedora-rawhide-s390x Version: 1.9 PID: 10992 Logging PID: 10994 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 10886294, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-s390x', '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-s390x/', '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-s390x', '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-6465m6ry/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-6465m6ry/python-elasticsearch', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-6465m6ry/python-elasticsearch'... Running: git checkout 43a1cb2d4c98616dc646121bddb4ea24c05cf95a -- cmd: ['git', 'checkout', '43a1cb2d4c98616dc646121bddb4ea24c05cf95a', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-6465m6ry/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-6465m6ry/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 2.53M 0 0 INFO: Reading stdout from command: md5sum elasticsearch-py-9.4.1.tar.gz Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-6465m6ry/python-elasticsearch/python-elasticsearch.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-6465m6ry/python-elasticsearch --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1787265868.069791 -r /var/lib/copr-rpmbuild/results/configs/child.cfg tail: /var/lib/copr-rpmbuild/main.log: file truncated 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-6465m6ry/python-elasticsearch/python-elasticsearch.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-6465m6ry/python-elasticsearch --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1787265868.069791 -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-6465m6ry/python-elasticsearch/python-elasticsearch.spec) Config(fedora-rawhide-s390x) 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-s390x-bootstrap-1787265868.069791/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-3f7697a5-8553-4756-b4f7-c297fc79be5d INFO: Checking that ef0e6fdcbc5723b48168e8643338bb887a6dd1dbad7adb72cb2d27c53521d976 image matches host's architecture INFO: Copy content of container ef0e6fdcbc5723b48168e8643338bb887a6dd1dbad7adb72cb2d27c53521d976 to /var/lib/mock/fedora-rawhide-s390x-bootstrap-1787265868.069791/root INFO: mounting ef0e6fdcbc5723b48168e8643338bb887a6dd1dbad7adb72cb2d27c53521d976 with podman image mount INFO: image ef0e6fdcbc5723b48168e8643338bb887a6dd1dbad7adb72cb2d27c53521d976 as /var/lib/containers/storage/overlay/c10234d9c5c7ed09a7baa76b67a662b540205e9f12cf6c9cf8e1de5849683618/merged INFO: umounting image ef0e6fdcbc5723b48168e8643338bb887a6dd1dbad7adb72cb2d27c53521d976 (/var/lib/containers/storage/overlay/c10234d9c5c7ed09a7baa76b67a662b540205e9f12cf6c9cf8e1de5849683618/merged) with podman image umount INFO: Removing image mock-bootstrap-3f7697a5-8553-4756-b4f7-c297fc79be5d 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-s390x-1787265868.069791/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.s390x rpm-sequoia-1.10.2-5.fc45.s390x dnf5-5.4.3.0-2.fc46.s390x dnf5-plugins-5.4.3.0-2.fc46.s390x Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 20.3 KiB/s | 6.1 KiB | 00m00s Copr repository 100% | 13.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash s390x 0:5.3.15-2.fc45 fedora 8.6 MiB bzip2 s390x 0:1.0.8-24.fc45 fedora 86.6 KiB coreutils s390x 0:9.11-6.fc45 fedora 6.0 MiB cpio s390x 0:2.15-10.fc45 fedora 1.1 MiB diffutils s390x 0:3.12-6.fc45 fedora 1.6 MiB fedora-release-common noarch 0:46-0.1 fedora 4.6 KiB findutils s390x 1:4.11.0-2.fc45 fedora 2.0 MiB gawk s390x 0:5.4.1-1.fc45 fedora 2.2 MiB glibc-minimal-langpack s390x 0:2.44-1.fc45 fedora 0.0 B grep s390x 0:3.12-4.fc45 fedora 1.0 MiB gzip s390x 0:1.14-4.fc45 fedora 397.2 KiB info s390x 0:7.3-3.fc45 fedora 403.7 KiB patch s390x 0:2.8-5.fc45 fedora 238.1 KiB redhat-rpm-config noarch 0:344-5.fc45 fedora 184.2 KiB rpm-build s390x 0:6.0.92-2.fc45 fedora 302.1 KiB sed s390x 0:4.10-2.fc45 fedora 870.1 KiB shadow-utils s390x 2:4.20.0-1.fc45 fedora 3.9 MiB tar s390x 2:1.35-9.fc45 fedora 3.0 MiB unzip s390x 0:6.0-71.fc45 fedora 440.9 KiB util-linux s390x 0:2.42.2-3.fc45 fedora 3.5 MiB which s390x 0:2.25-2.fc45 fedora 83.3 KiB xz s390x 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 s390x 0:0.7.3-3.fc45 fedora 2.3 MiB alternatives s390x 0:1.33-6.fc45 fedora 61.8 KiB ansible-srpm-macros noarch 0:1-22.fc45 fedora 35.7 KiB audit-libs s390x 0:4.2.1-2.fc45 fedora 397.8 KiB binutils s390x 0:2.47-1.fc45 fedora 29.7 MiB build-reproducibility-srpm-macros noarch 0:0.7.3-3.fc45 fedora 1.2 KiB bzip2-libs s390x 0:1.0.8-24.fc45 fedora 84.3 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 s390x 0:9.11-6.fc45 fedora 10.9 MiB crypto-policies noarch 0:20260713-2.gitc42da77.fc45 fedora 134.3 KiB curl s390x 0:8.21.0-5.fc45 fedora 507.7 KiB cyrus-sasl-lib s390x 0:2.1.28-37.fc45 fedora 2.4 MiB debugedit s390x 0:5.3-3.fc45 fedora 224.1 KiB dwz s390x 0:0.17-3.fc45 fedora 310.4 KiB ed s390x 0:1.22.5-3.fc45 fedora 149.5 KiB efi-srpm-macros noarch 0:6-9.fc45 fedora 40.3 KiB elfutils s390x 0:0.195-3.fc45 fedora 3.0 MiB elfutils-debuginfod-client s390x 0:0.195-3.fc45 fedora 75.3 KiB elfutils-libelf s390x 0:0.195-3.fc45 fedora 1.2 MiB elfutils-libs s390x 0:0.195-3.fc45 fedora 782.1 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 s390x 0:5.47-3.fc45 fedora 100.9 KiB file-libs s390x 0:5.47-3.fc45 fedora 12.2 MiB filesystem s390x 0:3.18-59.fc45 fedora 112.0 B filesystem-srpm-macros noarch 0:3.18-59.fc45 fedora 38.2 KiB fips-provider s390x 0:1.5.2-3.fc45 fedora 4.0 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 s390x 0:17.2-4.fc45 fedora 15.9 MiB gdbm-libs s390x 1:1.23-12.fc45 fedora 125.2 KiB ghc-srpm-macros noarch 0:1.10-2.fc45 fedora 792.0 B glibc s390x 0:2.44-1.fc45 fedora 5.5 MiB glibc-common s390x 0:2.44-1.fc45 fedora 1.1 MiB glibc-gconv-extra s390x 0:2.44-1.fc45 fedora 6.8 MiB gmp s390x 1:6.3.0-6.fc45 fedora 769.7 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 s390x 0:2.4.9-18.fc45 fedora 6.6 MiB gnupg2-dirmngr s390x 0:2.4.9-18.fc45 fedora 657.2 KiB gnupg2-gpg-agent s390x 0:2.4.9-18.fc45 fedora 717.4 KiB gnupg2-gpgconf s390x 0:2.4.9-18.fc45 fedora 269.1 KiB gnupg2-keyboxd s390x 0:2.4.9-18.fc45 fedora 213.0 KiB gnupg2-verify s390x 0:2.4.9-18.fc45 fedora 364.0 KiB gnutls s390x 0:3.8.13-3.fc45 fedora 3.7 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 s390x 0:1.6.2-12.fc45 fedora 56.3 KiB jansson s390x 0:2.14-5.fc45 fedora 88.7 KiB java-srpm-macros noarch 0:1-9.fc45 fedora 870.0 B json-c s390x 0:0.18-9.fc45 fedora 82.3 KiB kernel-srpm-macros noarch 0:1.0-30.fc45 fedora 1.9 KiB keyutils-libs s390x 0:1.6.3-8.fc45 fedora 49.9 KiB krb5-libs s390x 0:1.22.2-9.fc45 fedora 2.5 MiB libacl s390x 0:2.4.0-2.fc45 fedora 43.6 KiB libarchive s390x 0:3.8.9-1.fc46 fedora 1.0 MiB libassuan s390x 0:2.5.7-6.fc45 fedora 163.6 KiB libattr s390x 0:2.6.0-2.fc45 fedora 24.1 KiB libblkid s390x 0:2.42.2-3.fc45 fedora 290.0 KiB libbrotli s390x 0:1.2.0-6.fc45 fedora 912.3 KiB libcap s390x 0:2.78-2.fc45 fedora 210.1 KiB libcap-ng s390x 0:0.9.3-5.fc45 fedora 64.3 KiB libcbor s390x 0:0.14.0-3.fc45 fedora 83.3 KiB libcom_err s390x 0:1.47.4-2.fc45 fedora 58.8 KiB libcurl s390x 0:8.21.0-5.fc45 fedora 1.1 MiB libeconf s390x 0:0.7.9-4.fc45 fedora 64.6 KiB libevent s390x 0:2.1.12-19.fc45 fedora 981.6 KiB libfdisk s390x 0:2.42.2-3.fc45 fedora 394.6 KiB libffi s390x 0:3.5.2-3.fc45 fedora 79.3 KiB libfido2 s390x 0:1.17.0-5.fc45 fedora 252.5 KiB libfsverity s390x 0:1.7-4.fc45 fedora 24.1 KiB libgcc s390x 0:16.1.1-4.fc45.1 fedora 213.6 KiB libgcrypt s390x 0:1.12.2-2.fc45 fedora 1.3 MiB libgomp s390x 0:16.1.1-4.fc45.1 fedora 576.8 KiB libgpg-error s390x 0:1.61-2.fc45 fedora 957.4 KiB libidn2 s390x 0:2.3.8-4.fc45 fedora 560.2 KiB libksba s390x 0:1.8.0-3.fc45 fedora 426.9 KiB liblastlog2 s390x 0:2.42.2-3.fc45 fedora 33.2 KiB libmount s390x 0:2.42.2-3.fc45 fedora 404.1 KiB libnghttp2 s390x 0:1.69.0-5.fc45 fedora 173.7 KiB libnghttp3 s390x 0:1.18.0-1.fc45 fedora 154.5 KiB libpkgconf s390x 0:2.5.1-2.fc45 fedora 93.7 KiB libpsl s390x 0:0.23.1-1.fc45 fedora 80.2 KiB libselinux s390x 0:3.11-4.fc45 fedora 217.0 KiB libselinux-utils s390x 0:3.11-4.fc45 fedora 269.5 KiB libsemanage s390x 0:3.11-3.fc45 fedora 311.8 KiB libsepol s390x 0:3.11-2.fc45 fedora 861.7 KiB libsmartcols s390x 0:2.42.2-3.fc45 fedora 196.2 KiB libssh s390x 0:0.12.2-1.fc45 fedora 709.1 KiB libssh-config noarch 0:0.12.2-1.fc45 fedora 277.0 B libstdc++ s390x 0:16.1.1-4.fc45.1 fedora 3.4 MiB libtasn1 s390x 0:4.21.0-2.fc45 fedora 184.4 KiB libtool-ltdl s390x 0:2.5.4-11.fc45 fedora 69.6 KiB libunistring s390x 0:1.1-12.fc45 fedora 1.8 MiB libusb1 s390x 0:1.0.30-2.fc45 fedora 175.4 KiB libuuid s390x 0:2.42.2-3.fc45 fedora 33.0 KiB libverto s390x 0:0.3.2-13.fc45 fedora 25.0 KiB libxcrypt s390x 0:4.5.2-4.fc45 fedora 289.0 KiB libxml2 s390x 0:2.13.9-4.fc45 fedora 1.8 MiB libzstd s390x 0:1.5.7-6.fc45 fedora 1.0 MiB linkdupes s390x 0:0.7.3-3.fc45 fedora 905.1 KiB lua-libs s390x 0:5.5.1-1.fc45 fedora 341.8 KiB lua-srpm-macros noarch 0:1-18.fc45 fedora 1.3 KiB lz4-libs s390x 0:1.10.0-5.fc45 fedora 197.1 KiB mpfr s390x 0:4.2.2-4.fc45 fedora 695.3 KiB ncurses-base noarch 0:6.6-3.fc45 fedora 329.7 KiB ncurses-libs s390x 0:6.6-3.fc45 fedora 1.0 MiB nettle s390x 0:4.0-5.fc45 fedora 849.1 KiB ngtcp2 s390x 0:1.22.1-3.fc45 fedora 316.9 KiB ngtcp2-crypto-ossl s390x 0:1.22.1-3.fc45 fedora 47.2 KiB npth s390x 0:1.8-5.fc45 fedora 45.1 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 s390x 0:2.6.13-4.fc45 fedora 675.3 KiB openssl-libs s390x 1:4.0.1-5.fc45 fedora 6.0 MiB p11-kit s390x 0:0.26.5-1.fc45 fedora 3.0 MiB p11-kit-trust s390x 0:0.26.5-1.fc45 fedora 573.6 KiB package-notes-srpm-macros noarch 0:0.20-2.fc45 fedora 1.6 KiB pam-libs s390x 0:1.7.2-4.fc45 fedora 121.8 KiB pcre2 s390x 0:10.47-1.fc45.2 fedora 725.9 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 s390x 0:2.5.1-2.fc45 fedora 92.5 KiB pkgconf-m4 noarch 0:2.5.1-2.fc45 fedora 14.3 KiB pkgconf-pkg-config s390x 0:2.5.1-2.fc45 fedora 988.0 B policycoreutils s390x 0:3.11-2.fc45 fedora 866.1 KiB popt s390x 0:1.19-11.fc45 fedora 140.4 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 s390x 0:8.3-6.fc45 fedora 571.1 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 s390x 0:6.0.92-2.fc45 fedora 3.1 MiB rpm-build-libs s390x 0:6.0.92-2.fc45 fedora 283.7 KiB rpm-libs s390x 0:6.0.92-2.fc45 fedora 1.1 MiB rpm-plugin-selinux s390x 0:6.0.92-2.fc45 fedora 11.6 KiB rpm-sequoia s390x 0:1.10.2-5.fc45 fedora 2.6 MiB rpm-sign-libs s390x 0:6.0.92-2.fc45 fedora 35.4 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 s390x 0:3.53.4-1.fc45 fedora 1.7 MiB systemd-libs s390x 0:261.2-1.fc45 fedora 2.7 MiB systemd-standalone-sysusers s390x 0:261.2-1.fc45 fedora 938.4 KiB tpm2-tss s390x 0:4.2.0-1.fc45 fedora 1.6 MiB tree-sitter-srpm-macros noarch 0:0.4.6-2.fc45 fedora 8.6 KiB util-linux-core s390x 0:2.42.2-3.fc45 fedora 1.5 MiB xxhash-libs s390x 0:0.8.3-5.fc45 fedora 61.6 KiB xz-libs s390x 1:5.8.3-2.fc45 fedora 221.2 KiB zig-srpm-macros noarch 0:1-9.fc45 fedora 1.3 KiB zip s390x 0:3.0-46.fc45 fedora 729.1 KiB zlib-ng-compat s390x 0:2.3.3-6.fc45 fedora 125.1 KiB zstd s390x 0:1.5.7-6.fc45 fedora 509.6 KiB Installing groups: Buildsystem building group Transaction Summary: Installing: 188 packages Total size of inbound packages is 71 MiB. Need to download 0 B. After this operation, 231 MiB extra will be used (install 231 MiB, remove 0 B). [ 1/188] tar-2:1.35-9.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/188] bzip2-0:1.0.8-24.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/188] redhat-rpm-config-0:344-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/188] rpm-build-0:6.0.92-2.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/188] unzip-0:6.0-71.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/188] cpio-0:2.15-10.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/188] which-0:2.25-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/188] bash-0:5.3.15-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/188] coreutils-0:9.11-6.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/188] grep-0:3.12-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/188] patch-0:2.8-5.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/188] sed-0:4.10-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/188] shadow-utils-2:4.20.0-1.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/188] util-linux-0:2.42.2-3.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/188] diffutils-0:3.12-6.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/188] fedora-release-common-0:46-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/188] findutils-1:4.11.0-2.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/188] gawk-0:5.4.1-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/188] glibc-minimal-langpack-0:2.44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/188] gzip-0:1.14-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/188] info-0:7.3-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/188] xz-1:5.8.3-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/188] glibc-0:2.44-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/188] libacl-0:2.4.0-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/188] libselinux-0:3.11-4.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/188] bzip2-libs-0:1.0.8-24.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/188] R-srpm-macros-0:1.3.7-3.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/188] ansible-srpm-macros-0:1-22.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/188] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/188] cmake-srpm-macros-0:4.3.0-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/188] dwz-0:0.17-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/188] efi-srpm-macros-0:6-9.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/188] erlang-srpm-macros-0:0.3.11-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/188] file-0:5.47-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/188] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/188] fonts-srpm-macros-1:5.0.0-4.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/188] forge-srpm-macros-0:0.4.0-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/188] fpc-srpm-macros-0:1.3-17.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/188] gap-srpm-macros-0:2-3.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/188] ghc-srpm-macros-0:1.10-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/188] gnat-srpm-macros-0:7-3.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/188] gnome-srpm-macros-0:1.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/188] go-srpm-macros-0:3.8.0-3.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/188] java-srpm-macros-0:1-9.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/188] kernel-srpm-macros-0:1.0-30.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/188] lua-srpm-macros-0:1-18.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/188] ocaml-srpm-macros-0:11-4.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/188] openblas-srpm-macros-0:2-22.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/188] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/188] perl-srpm-macros-0:1-65.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/188] pyproject-srpm-macros-0:1.23. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/188] python-srpm-macros-0:3.15-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/188] qt5-srpm-macros-0:5.15.18-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/188] qt6-srpm-macros-0:6.11.1-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/188] rpm-0:6.0.92-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/188] rust-srpm-macros-0:28.5-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/188] tree-sitter-srpm-macros-0:0.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/188] zig-srpm-macros-0:1-9.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/188] zip-0:3.0-46.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/188] binutils-0:2.47-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/188] debugedit-0:5.3-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/188] elfutils-0:0.195-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/188] elfutils-libelf-0:0.195-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/188] libarchive-0:3.8.9-1.fc46.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/188] libgcc-0:16.1.1-4.fc45.1.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/188] libstdc++-0:16.1.1-4.fc45.1.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/188] pkgconf-pkg-config-0:2.5.1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/188] popt-0:1.19-11.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/188] readline-0:8.3-6.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/188] rpm-build-libs-0:6.0.92-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/188] rpm-libs-0:6.0.92-2.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/188] zstd-0:1.5.7-6.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/188] filesystem-0:3.18-59.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/188] ncurses-libs-0:6.6-3.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/188] coreutils-common-0:9.11-6.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/188] gmp-1:6.3.0-6.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/188] libattr-0:2.6.0-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/188] libcap-0:2.78-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/188] openssl-libs-1:4.0.1-5.fc45.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/188] systemd-libs-0:261.2-1.fc45.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/188] pcre2-0:10.47-1.fc45.2.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/188] ed-0:1.22.5-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/188] audit-libs-0:4.2.1-2.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/188] libeconf-0:0.7.9-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/188] libsemanage-0:3.11-3.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/188] libxcrypt-0:4.5.2-4.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/188] pam-libs-0:1.7.2-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/188] setup-0:2.15.1-2.fc45.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/188] libblkid-0:2.42.2-3.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/188] libcap-ng-0:0.9.3-5.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/188] libfdisk-0:2.42.2-3.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/188] liblastlog2-0:2.42.2-3.fc45.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/188] libmount-0:2.42.2-3.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/188] libsmartcols-0:2.42.2-3.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/188] libuuid-0:2.42.2-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/188] util-linux-core-0:2.42.2-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/188] zlib-ng-compat-0:2.3.3-6.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/188] fedora-repos-0:46-0.1.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/188] redhat-systemd-presets-0:102- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/188] mpfr-0:4.2.2-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/188] glibc-common-0:2.44-1.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/188] xz-libs-1:5.8.3-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/188] glibc-gconv-extra-0:2.44-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/188] libsepol-0:3.11-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/188] add-determinism-0:0.7.3-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/188] linkdupes-0:0.7.3-3.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/188] file-libs-0:5.47-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/188] curl-0:8.21.0-5.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/188] alternatives-0:1.33-6.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/188] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/188] jansson-0:2.14-5.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/188] libzstd-0:1.5.7-6.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/188] elfutils-libs-0:0.195-3.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/188] libxml2-0:2.13.9-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/188] lz4-libs-0:1.10.0-5.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/188] pkgconf-0:2.5.1-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/188] pkgconf-m4-0:2.5.1-2.fc45.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/188] libgomp-0:16.1.1-4.fc45.1.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/188] lua-libs-0:5.5.1-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/188] rpm-sign-libs-0:6.0.92-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/188] rpm-sequoia-0:1.10.2-5.fc45.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/188] sqlite-libs-0:3.53.4-1.fc45.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/188] ncurses-base-0:6.6-3.fc45.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/188] gnulib-l10n-0:20241231-4.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/188] ca-certificates-0:2025.2.80_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/188] crypto-policies-0:20260713-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/188] fips-provider-0:1.5.2-3.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/188] pcre2-syntax-0:10.47-1.fc45.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/188] fedora-gpg-keys-0:46-0.1.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/188] fedora-repos-rawhide-0:46-0.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/188] redhat-systemd-presets-common 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/188] json-c-0:0.18-9.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/188] libpkgconf-0:2.5.1-2.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/188] gnupg2-0:2.4.9-18.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/188] ima-evm-utils-libs-0:1.6.2-12 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/188] libfsverity-0:1.7-4.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/188] libffi-0:3.5.2-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/188] p11-kit-0:0.26.5-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/188] p11-kit-trust-0:0.26.5-1.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/188] gpgverify-0:2.2-5.fc45.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/188] gnupg2-dirmngr-0:2.4.9-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/188] gnupg2-gpg-agent-0:2.4.9-18.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/188] gnupg2-gpgconf-0:2.4.9-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/188] gnupg2-keyboxd-0:2.4.9-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/188] gnupg2-verify-0:2.4.9-18.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/188] libassuan-0:2.5.7-6.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/188] libgcrypt-0:1.12.2-2.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/188] libgpg-error-0:1.61-2.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/188] npth-0:1.8-5.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/188] tpm2-tss-0:4.2.0-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/188] libtasn1-0:4.21.0-2.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/188] gnutls-0:3.8.13-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/188] libksba-0:1.8.0-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/188] openldap-0:2.6.13-4.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/188] libusb1-0:1.0.30-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/188] libidn2-0:2.3.8-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/188] libunistring-0:1.1-12.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/188] nettle-0:4.0-5.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/188] cyrus-sasl-lib-0:2.1.28-37.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/188] libevent-0:2.1.12-19.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/188] libtool-ltdl-0:2.5.4-11.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/188] gdbm-libs-1:1.23-12.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/188] fedora-release-0:46-0.1.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/188] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/188] gdb-minimal-0:17.2-4.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/188] xxhash-libs-0:0.8.3-5.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/188] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/188] libcurl-0:8.21.0-5.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/188] krb5-libs-0:1.22.2-9.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/188] libbrotli-0:1.2.0-6.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [171/188] libnghttp2-0:1.69.0-5.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [172/188] libnghttp3-0:1.18.0-1.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [173/188] libpsl-0:0.23.1-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [174/188] libssh-0:0.12.2-1.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [175/188] ngtcp2-0:1.22.1-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [176/188] ngtcp2-crypto-ossl-0:1.22.1-3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [177/188] keyutils-libs-0:1.6.3-8.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [178/188] libcom_err-0:1.47.4-2.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [179/188] libverto-0:0.3.2-13.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [180/188] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [181/188] libfido2-0:1.17.0-5.fc45.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [182/188] libssh-config-0:0.12.2-1.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [183/188] libcbor-0:0.14.0-3.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [184/188] selinux-policy-targeted-0:45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [185/188] policycoreutils-0:3.11-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [186/188] selinux-policy-0:45.12-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [187/188] libselinux-utils-0:3.11-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [188/188] rpm-plugin-selinux-0:6.0.92-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [188/188] Total 100% | 0.0 B/s | 0.0 B | 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% | 1.0 KiB/s | 188.0 B | 00m00s >>> Running %pretrans scriptlet: filesystem-0:3.18-59.fc45.s390x >>> Finished %pretrans scriptlet: filesystem-0:3.18-59.fc45.s390x >>> [RPM] failed to open /var/lib/mock/fedora-rawhide-s390x-1787265868.069791/root/etc/group for id/name lookup: No such file or directory [ 2/190] Prepare transaction 100% | 2.4 KiB/s | 188.0 B | 00m00s [ 3/190] Installing libgcc-0:16.1.1-4. 100% | 210.3 MiB/s | 215.3 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-repos-rawhi 100% | 0.0 B/s | 2.5 KiB | 00m00s [ 10/190] Installing fedora-gpg-keys-0: 100% | 35.5 MiB/s | 181.7 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% | 20.2 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% | 29.8 MiB/s | 731.3 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 15/190] Installing filesystem-0:3.18- 100% | 2.1 MiB/s | 253.6 KiB | 00m00s [ 16/190] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 17/190] Installing gnulib-l10n-0:2024 100% | 161.6 MiB/s | 661.9 KiB | 00m00s [ 18/190] Installing coreutils-common-0 100% | 322.3 MiB/s | 11.0 MiB | 00m00s [ 19/190] Installing ncurses-base-0:6.6 100% | 69.4 MiB/s | 355.3 KiB | 00m00s [ 20/190] Installing bash-0:5.3.15-2.fc 100% | 210.4 MiB/s | 8.6 MiB | 00m00s [ 21/190] Installing glibc-common-0:2.4 100% | 45.3 MiB/s | 1.1 MiB | 00m00s [ 22/190] Installing glibc-gconv-extra- 100% | 245.2 MiB/s | 6.9 MiB | 00m00s [ 23/190] Installing glibc-0:2.44-1.fc4 100% | 119.4 MiB/s | 5.5 MiB | 00m00s [ 24/190] Installing ncurses-libs-0:6.6 100% | 201.7 MiB/s | 1.0 MiB | 00m00s [ 25/190] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 26/190] Installing zlib-ng-compat-0:2 100% | 123.0 MiB/s | 125.9 KiB | 00m00s [ 27/190] Installing bzip2-libs-0:1.0.8 100% | 83.4 MiB/s | 85.4 KiB | 00m00s [ 28/190] Installing libgpg-error-0:1.6 100% | 42.8 MiB/s | 963.3 KiB | 00m00s [ 29/190] Installing libstdc++-0:16.1.1 100% | 306.9 MiB/s | 3.4 MiB | 00m00s [ 30/190] Installing libzstd-0:1.5.7-6. 100% | 251.3 MiB/s | 1.0 MiB | 00m00s [ 31/190] Installing elfutils-libelf-0: 100% | 389.8 MiB/s | 1.2 MiB | 00m00s [ 32/190] Installing libassuan-0:2.5.7- 100% | 161.5 MiB/s | 165.4 KiB | 00m00s [ 33/190] Installing libgcrypt-0:1.12.2 100% | 259.4 MiB/s | 1.3 MiB | 00m00s [ 34/190] Installing readline-0:8.3-6.f 100% | 279.9 MiB/s | 573.2 KiB | 00m00s [ 35/190] Installing libacl-0:2.4.0-2.f 100% | 0.0 B/s | 44.5 KiB | 00m00s [ 36/190] Installing gmp-1:6.3.0-6.fc45 100% | 251.3 MiB/s | 772.0 KiB | 00m00s [ 37/190] Installing systemd-libs-0:261 100% | 300.5 MiB/s | 2.7 MiB | 00m00s [ 38/190] Installing libuuid-0:2.42.2-3 100% | 0.0 B/s | 34.0 KiB | 00m00s [ 39/190] Installing xz-libs-1:5.8.3-2. 100% | 217.1 MiB/s | 222.3 KiB | 00m00s [ 40/190] Installing popt-0:1.19-11.fc4 100% | 71.8 MiB/s | 147.0 KiB | 00m00s [ 41/190] Installing sqlite-libs-0:3.53 100% | 286.8 MiB/s | 1.7 MiB | 00m00s [ 42/190] Installing npth-0:1.8-5.fc45. 100% | 0.0 B/s | 46.2 KiB | 00m00s [ 43/190] Installing elfutils-libs-0:0. 100% | 255.2 MiB/s | 783.9 KiB | 00m00s [ 44/190] Installing libblkid-0:2.42.2- 100% | 284.4 MiB/s | 291.2 KiB | 00m00s [ 45/190] Installing libsepol-0:3.11-2. 100% | 280.8 MiB/s | 862.7 KiB | 00m00s [ 46/190] Installing gnupg2-gpgconf-0:2 100% | 13.9 MiB/s | 271.2 KiB | 00m00s [ 47/190] Installing pcre2-0:10.47-1.fc 100% | 236.8 MiB/s | 727.3 KiB | 00m00s [ 48/190] Installing libselinux-0:3.11- 100% | 213.1 MiB/s | 218.2 KiB | 00m00s [ 49/190] Installing grep-0:3.12-4.fc45 100% | 46.1 MiB/s | 1.0 MiB | 00m00s [ 50/190] Installing sed-0:4.10-2.fc45. 100% | 39.0 MiB/s | 878.6 KiB | 00m00s [ 51/190] Installing findutils-1:4.11.0 100% | 82.4 MiB/s | 2.0 MiB | 00m00s [ 52/190] Installing libxcrypt-0:4.5.2- 100% | 142.4 MiB/s | 291.7 KiB | 00m00s [ 53/190] Installing libtasn1-0:4.21.0- 100% | 181.9 MiB/s | 186.2 KiB | 00m00s [ 54/190] Installing libunistring-0:1.1 100% | 294.2 MiB/s | 1.8 MiB | 00m00s [ 55/190] Installing libidn2-0:2.3.8-4. 100% | 69.1 MiB/s | 566.3 KiB | 00m00s [ 56/190] Installing crypto-policies-0: 100% | 31.2 MiB/s | 159.5 KiB | 00m00s [ 57/190] Installing xz-1:5.8.3-2.fc45. 100% | 52.0 MiB/s | 1.4 MiB | 00m00s [ 58/190] Installing libmount-0:2.42.2- 100% | 197.8 MiB/s | 405.2 KiB | 00m00s [ 59/190] Installing gnupg2-verify-0:2. 100% | 18.8 MiB/s | 365.4 KiB | 00m00s [ 60/190] Installing mpfr-0:4.2.2-4.fc4 100% | 226.9 MiB/s | 697.0 KiB | 00m00s [ 61/190] Installing gawk-0:5.4.1-1.fc4 100% | 86.2 MiB/s | 2.2 MiB | 00m00s [ 62/190] Installing dwz-0:0.17-3.fc45. 100% | 16.0 MiB/s | 311.8 KiB | 00m00s [ 63/190] Installing libksba-0:1.8.0-3. 100% | 209.7 MiB/s | 429.4 KiB | 00m00s [ 64/190] Installing unzip-0:6.0-71.fc4 100% | 22.8 MiB/s | 444.5 KiB | 00m00s [ 65/190] Installing file-libs-0:5.47-3 100% | 554.1 MiB/s | 12.2 MiB | 00m00s [ 66/190] Installing file-0:5.47-3.fc45 100% | 5.6 MiB/s | 102.4 KiB | 00m00s [ 67/190] Installing diffutils-0:3.12-6 100% | 69.0 MiB/s | 1.6 MiB | 00m00s [ 68/190] Installing libattr-0:2.6.0-2. 100% | 0.0 B/s | 25.0 KiB | 00m00s [ 69/190] Installing libeconf-0:0.7.9-4 100% | 64.7 MiB/s | 66.2 KiB | 00m00s [ 70/190] Installing libcap-ng-0:0.9.3- 100% | 64.6 MiB/s | 66.2 KiB | 00m00s [ 71/190] Installing audit-libs-0:4.2.1 100% | 195.5 MiB/s | 400.4 KiB | 00m00s [ 72/190] Installing pam-libs-0:1.7.2-4 100% | 121.3 MiB/s | 124.2 KiB | 00m00s [ 73/190] Installing libcap-0:2.78-2.fc 100% | 11.1 MiB/s | 215.2 KiB | 00m00s [ 74/190] Installing libsemanage-0:3.11 100% | 153.1 MiB/s | 313.6 KiB | 00m00s [ 75/190] Installing libsmartcols-0:2.4 100% | 192.5 MiB/s | 197.2 KiB | 00m00s [ 76/190] Installing alternatives-0:1.3 100% | 3.4 MiB/s | 63.4 KiB | 00m00s [ 77/190] Installing lua-libs-0:5.5.1-1 100% | 167.6 MiB/s | 343.3 KiB | 00m00s [ 78/190] Installing json-c-0:0.18-9.fc 100% | 81.6 MiB/s | 83.5 KiB | 00m00s [ 79/190] Installing libffi-0:3.5.2-3.f 100% | 78.8 MiB/s | 80.7 KiB | 00m00s [ 80/190] Installing p11-kit-0:0.26.5-1 100% | 102.4 MiB/s | 3.0 MiB | 00m00s [ 81/190] Installing p11-kit-trust-0:0. 100% | 21.6 MiB/s | 575.3 KiB | 00m00s [ 82/190] Installing ngtcp2-0:1.22.1-3. 100% | 155.5 MiB/s | 318.4 KiB | 00m00s [ 83/190] Installing util-linux-core-0: 100% | 56.7 MiB/s | 1.5 MiB | 00m00s [ 84/190] Installing liblastlog2-0:2.42 100% | 8.6 MiB/s | 35.2 KiB | 00m00s [ 85/190] Installing zip-0:3.0-46.fc45. 100% | 31.1 MiB/s | 733.0 KiB | 00m00s [ 86/190] Installing gnupg2-keyboxd-0:2 100% | 41.8 MiB/s | 214.2 KiB | 00m00s [ 87/190] Installing libpsl-0:0.23.1-1. 100% | 79.4 MiB/s | 81.3 KiB | 00m00s [ 88/190] Installing tar-2:1.35-9.fc45. 100% | 97.4 MiB/s | 3.0 MiB | 00m00s [ 89/190] Installing linkdupes-0:0.7.3- 100% | 42.2 MiB/s | 906.5 KiB | 00m00s [ 90/190] Installing libselinux-utils-0 100% | 13.9 MiB/s | 283.9 KiB | 00m00s [ 91/190] Installing libfdisk-0:2.42.2- 100% | 193.1 MiB/s | 395.6 KiB | 00m00s [ 92/190] Installing fips-provider-0:1. 100% | 288.4 MiB/s | 4.0 MiB | 00m00s [ 93/190] Installing openssl-libs-1:4.0 100% | 283.9 MiB/s | 6.0 MiB | 00m00s [ 94/190] Installing coreutils-0:9.11-6 100% | 147.5 MiB/s | 6.0 MiB | 00m00s [ 95/190] Installing ca-certificates-0: 100% | 1.5 MiB/s | 2.4 MiB | 00m02s [ 96/190] Installing util-linux-0:2.42. 100% | 76.1 MiB/s | 3.6 MiB | 00m00s [ 97/190] Installing policycoreutils-0: 100% | 27.3 MiB/s | 894.4 KiB | 00m00s [ 98/190] Installing selinux-policy-0:4 100% | 1.8 MiB/s | 34.5 KiB | 00m00s [ 99/190] Installing selinux-policy-tar 100% | 189.2 MiB/s | 15.1 MiB | 00m00s [100/190] Installing gzip-0:1.14-4.fc45 100% | 17.9 MiB/s | 402.7 KiB | 00m00s [101/190] Installing rpm-sequoia-0:1.10 100% | 256.6 MiB/s | 2.6 MiB | 00m00s [102/190] Installing libfsverity-0:1.7- 100% | 0.0 B/s | 25.1 KiB | 00m00s [103/190] Installing libevent-0:2.1.12- 100% | 240.6 MiB/s | 985.4 KiB | 00m00s [104/190] Installing ngtcp2-crypto-ossl 100% | 0.0 B/s | 48.1 KiB | 00m00s [105/190] Installing libxml2-0:2.13.9-4 100% | 77.1 MiB/s | 1.8 MiB | 00m00s [106/190] Installing libusb1-0:1.0.30-2 100% | 24.7 MiB/s | 177.1 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.s390x >>> Finished sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.s390x >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [107/190] Installing tpm2-tss-0:4.2.0-1 100% | 207.0 MiB/s | 1.7 MiB | 00m00s [108/190] Installing ima-evm-utils-libs 100% | 56.3 MiB/s | 57.6 KiB | 00m00s [109/190] Installing gnupg2-gpg-agent-0 100% | 25.2 MiB/s | 721.1 KiB | 00m00s [110/190] Installing nettle-0:4.0-5.fc4 100% | 208.1 MiB/s | 852.2 KiB | 00m00s [111/190] Installing gnutls-0:3.8.13-3. 100% | 283.5 MiB/s | 3.7 MiB | 00m00s [112/190] Installing zstd-0:1.5.7-6.fc4 100% | 25.1 MiB/s | 513.2 KiB | 00m00s [113/190] Installing bzip2-0:1.0.8-24.f 100% | 4.9 MiB/s | 91.1 KiB | 00m00s [114/190] Installing add-determinism-0: 100% | 90.1 MiB/s | 2.3 MiB | 00m00s [115/190] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [116/190] Installing cpio-0:2.15-10.fc4 100% | 50.7 MiB/s | 1.1 MiB | 00m00s [117/190] Installing ed-0:1.22.5-3.fc45 100% | 7.8 MiB/s | 151.8 KiB | 00m00s [118/190] Installing patch-0:2.8-5.fc45 100% | 12.3 MiB/s | 239.6 KiB | 00m00s [119/190] Installing jansson-0:2.14-5.f 100% | 88.0 MiB/s | 90.1 KiB | 00m00s [120/190] Installing lz4-libs-0:1.10.0- 100% | 193.5 MiB/s | 198.1 KiB | 00m00s [121/190] Installing libarchive-0:3.8.9 100% | 258.2 MiB/s | 1.0 MiB | 00m00s [122/190] Installing libgomp-0:16.1.1-4 100% | 282.3 MiB/s | 578.2 KiB | 00m00s [123/190] Installing libpkgconf-0:2.5.1 100% | 92.6 MiB/s | 94.9 KiB | 00m00s [124/190] Installing pkgconf-0:2.5.1-2. 100% | 5.2 MiB/s | 95.0 KiB | 00m00s [125/190] Installing libtool-ltdl-0:2.5 100% | 69.1 MiB/s | 70.7 KiB | 00m00s [126/190] Installing gdbm-libs-1:1.23-1 100% | 123.9 MiB/s | 126.9 KiB | 00m00s [127/190] Installing cyrus-sasl-lib-0:2 100% | 90.7 MiB/s | 2.4 MiB | 00m00s [128/190] Installing openldap-0:2.6.13- 100% | 221.1 MiB/s | 679.1 KiB | 00m00s [129/190] Installing gnupg2-dirmngr-0:2 100% | 24.8 MiB/s | 659.9 KiB | 00m00s [130/190] Installing gnupg2-0:2.4.9-18. 100% | 160.4 MiB/s | 6.6 MiB | 00m00s [131/190] Installing gpgverify-0:2.2-5. 100% | 0.0 B/s | 9.4 KiB | 00m00s [132/190] Installing systemd-standalone 100% | 41.7 MiB/s | 939.0 KiB | 00m00s [133/190] Installing rpm-libs-0:6.0.92- 100% | 226.3 MiB/s | 1.1 MiB | 00m00s [134/190] Installing rpm-sign-libs-0:6. 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [135/190] Installing rpm-build-libs-0:6 100% | 277.9 MiB/s | 284.6 KiB | 00m00s [136/190] Installing xxhash-libs-0:0.8. 100% | 61.5 MiB/s | 63.0 KiB | 00m00s [137/190] Installing libbrotli-0:1.2.0- 100% | 223.3 MiB/s | 914.6 KiB | 00m00s [138/190] Installing libnghttp2-0:1.69. 100% | 170.7 MiB/s | 174.8 KiB | 00m00s [139/190] Installing libnghttp3-0:1.18. 100% | 152.3 MiB/s | 155.9 KiB | 00m00s [140/190] Installing keyutils-libs-0:1. 100% | 50.2 MiB/s | 51.4 KiB | 00m00s [141/190] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 59.9 KiB | 00m00s [142/190] Installing libverto-0:0.3.2-1 100% | 26.2 MiB/s | 26.8 KiB | 00m00s [143/190] Installing krb5-libs-0:1.22.2 100% | 248.1 MiB/s | 2.5 MiB | 00m00s [144/190] Installing libcbor-0:0.14.0-3 100% | 82.7 MiB/s | 84.7 KiB | 00m00s [145/190] Installing libfido2-0:1.17.0- 100% | 248.0 MiB/s | 254.0 KiB | 00m00s [146/190] Installing libssh-0:0.12.2-1. 100% | 231.5 MiB/s | 711.2 KiB | 00m00s [147/190] Installing libcurl-0:8.21.0-5 100% | 268.3 MiB/s | 1.1 MiB | 00m00s [148/190] Installing elfutils-debuginfo 100% | 4.0 MiB/s | 77.7 KiB | 00m00s [149/190] Installing binutils-0:2.47-1. 100% | 285.5 MiB/s | 29.7 MiB | 00m00s [150/190] Installing elfutils-0:0.195-3 100% | 107.7 MiB/s | 3.0 MiB | 00m00s [151/190] Installing gdb-minimal-0:17.2 100% | 234.3 MiB/s | 15.9 MiB | 00m00s [152/190] Installing debugedit-0:5.3-3. 100% | 11.7 MiB/s | 227.4 KiB | 00m00s [153/190] Installing curl-0:8.21.0-5.fc 100% | 19.2 MiB/s | 510.3 KiB | 00m00s [154/190] Installing rpm-0:6.0.92-2.fc4 100% | 62.6 MiB/s | 2.5 MiB | 00m00s [155/190] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [156/190] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.3 KiB | 00m00s [157/190] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [158/190] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [159/190] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.6 KiB | 00m00s [160/190] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [161/190] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [162/190] Installing pkgconf-m4-0:2.5.1 100% | 0.0 B/s | 14.7 KiB | 00m00s [163/190] Installing pkgconf-pkg-config 100% | 93.3 KiB/s | 1.8 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% | 76.6 KiB/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 rpm-build-0:6.0.92 100% | 15.2 MiB/s | 312.1 KiB | 00m00s [179/190] Installing erlang-srpm-macros 100% | 0.0 B/s | 2.5 KiB | 00m00s [180/190] Installing pyproject-srpm-mac 100% | 0.0 B/s | 4.0 KiB | 00m00s [181/190] Installing redhat-rpm-config- 100% | 93.0 MiB/s | 190.4 KiB | 00m00s [182/190] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 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.6 KiB | 00m00s [188/190] Installing which-0:2.25-2.fc4 100% | 4.2 MiB/s | 85.5 KiB | 00m00s [189/190] Installing shadow-utils-2:4.2 100% | 104.5 MiB/s | 4.0 MiB | 00m00s [190/190] Installing info-0:7.3-3.fc45. 100% | 53.2 KiB/s | 404.1 KiB | 00m08s 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.s390x alternatives-1.33-6.fc45.s390x ansible-srpm-macros-1-22.fc45.noarch audit-libs-4.2.1-2.fc45.s390x bash-5.3.15-2.fc45.s390x binutils-2.47-1.fc45.s390x build-reproducibility-srpm-macros-0.7.3-3.fc45.noarch bzip2-1.0.8-24.fc45.s390x bzip2-libs-1.0.8-24.fc45.s390x 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.s390x coreutils-common-9.11-6.fc45.s390x cpio-2.15-10.fc45.s390x crypto-policies-20260713-2.gitc42da77.fc45.noarch curl-8.21.0-5.fc45.s390x cyrus-sasl-lib-2.1.28-37.fc45.s390x debugedit-5.3-3.fc45.s390x diffutils-3.12-6.fc45.s390x dwz-0.17-3.fc45.s390x ed-1.22.5-3.fc45.s390x efi-srpm-macros-6-9.fc45.noarch elfutils-0.195-3.fc45.s390x elfutils-debuginfod-client-0.195-3.fc45.s390x elfutils-libelf-0.195-3.fc45.s390x elfutils-libs-0.195-3.fc45.s390x 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.s390x file-libs-5.47-3.fc45.s390x filesystem-3.18-59.fc45.s390x filesystem-srpm-macros-3.18-59.fc45.noarch findutils-4.11.0-2.fc45.s390x fips-provider-1.5.2-3.fc45.s390x 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.s390x gdb-minimal-17.2-4.fc45.s390x gdbm-libs-1.23-12.fc45.s390x ghc-srpm-macros-1.10-2.fc45.noarch glibc-2.44-1.fc45.s390x glibc-common-2.44-1.fc45.s390x glibc-gconv-extra-2.44-1.fc45.s390x glibc-minimal-langpack-2.44-1.fc45.s390x gmp-6.3.0-6.fc45.s390x 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.s390x gnupg2-dirmngr-2.4.9-18.fc45.s390x gnupg2-gpg-agent-2.4.9-18.fc45.s390x gnupg2-gpgconf-2.4.9-18.fc45.s390x gnupg2-keyboxd-2.4.9-18.fc45.s390x gnupg2-verify-2.4.9-18.fc45.s390x gnutls-3.8.13-3.fc45.s390x 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.s390x gzip-1.14-4.fc45.s390x ima-evm-utils-libs-1.6.2-12.fc45.s390x info-7.3-3.fc45.s390x jansson-2.14-5.fc45.s390x java-srpm-macros-1-9.fc45.noarch json-c-0.18-9.fc45.s390x kernel-srpm-macros-1.0-30.fc45.noarch keyutils-libs-1.6.3-8.fc45.s390x krb5-libs-1.22.2-9.fc45.s390x libacl-2.4.0-2.fc45.s390x libarchive-3.8.9-1.fc46.s390x libassuan-2.5.7-6.fc45.s390x libattr-2.6.0-2.fc45.s390x libblkid-2.42.2-3.fc45.s390x libbrotli-1.2.0-6.fc45.s390x libcap-2.78-2.fc45.s390x libcap-ng-0.9.3-5.fc45.s390x libcbor-0.14.0-3.fc45.s390x libcom_err-1.47.4-2.fc45.s390x libcurl-8.21.0-5.fc45.s390x libeconf-0.7.9-4.fc45.s390x libevent-2.1.12-19.fc45.s390x libfdisk-2.42.2-3.fc45.s390x libffi-3.5.2-3.fc45.s390x libfido2-1.17.0-5.fc45.s390x libfsverity-1.7-4.fc45.s390x libgcc-16.1.1-4.fc45.1.s390x libgcrypt-1.12.2-2.fc45.s390x libgomp-16.1.1-4.fc45.1.s390x libgpg-error-1.61-2.fc45.s390x libidn2-2.3.8-4.fc45.s390x libksba-1.8.0-3.fc45.s390x liblastlog2-2.42.2-3.fc45.s390x libmount-2.42.2-3.fc45.s390x libnghttp2-1.69.0-5.fc45.s390x libnghttp3-1.18.0-1.fc45.s390x libpkgconf-2.5.1-2.fc45.s390x libpsl-0.23.1-1.fc45.s390x libselinux-3.11-4.fc45.s390x libselinux-utils-3.11-4.fc45.s390x libsemanage-3.11-3.fc45.s390x libsepol-3.11-2.fc45.s390x libsmartcols-2.42.2-3.fc45.s390x libssh-0.12.2-1.fc45.s390x libssh-config-0.12.2-1.fc45.noarch libstdc++-16.1.1-4.fc45.1.s390x libtasn1-4.21.0-2.fc45.s390x libtool-ltdl-2.5.4-11.fc45.s390x libunistring-1.1-12.fc45.s390x libusb1-1.0.30-2.fc45.s390x libuuid-2.42.2-3.fc45.s390x libverto-0.3.2-13.fc45.s390x libxcrypt-4.5.2-4.fc45.s390x libxml2-2.13.9-4.fc45.s390x libzstd-1.5.7-6.fc45.s390x linkdupes-0.7.3-3.fc45.s390x lua-libs-5.5.1-1.fc45.s390x lua-srpm-macros-1-18.fc45.noarch lz4-libs-1.10.0-5.fc45.s390x mpfr-4.2.2-4.fc45.s390x ncurses-base-6.6-3.fc45.noarch ncurses-libs-6.6-3.fc45.s390x nettle-4.0-5.fc45.s390x ngtcp2-1.22.1-3.fc45.s390x ngtcp2-crypto-ossl-1.22.1-3.fc45.s390x npth-1.8-5.fc45.s390x ocaml-srpm-macros-11-4.fc45.noarch openblas-srpm-macros-2-22.fc45.noarch openldap-2.6.13-4.fc45.s390x openssl-libs-4.0.1-5.fc45.s390x p11-kit-0.26.5-1.fc45.s390x p11-kit-trust-0.26.5-1.fc45.s390x package-notes-srpm-macros-0.20-2.fc45.noarch pam-libs-1.7.2-4.fc45.s390x patch-2.8-5.fc45.s390x pcre2-10.47-1.fc45.2.s390x pcre2-syntax-10.47-1.fc45.2.noarch perl-srpm-macros-1-65.fc45.noarch pkgconf-2.5.1-2.fc45.s390x pkgconf-m4-2.5.1-2.fc45.noarch pkgconf-pkg-config-2.5.1-2.fc45.s390x policycoreutils-3.11-2.fc45.s390x popt-1.19-11.fc45.s390x 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.s390x 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.s390x rpm-build-6.0.92-2.fc45.s390x rpm-build-libs-6.0.92-2.fc45.s390x rpm-libs-6.0.92-2.fc45.s390x rpm-plugin-selinux-6.0.92-2.fc45.s390x rpm-sequoia-1.10.2-5.fc45.s390x rpm-sign-libs-6.0.92-2.fc45.s390x rust-srpm-macros-28.5-2.fc45.noarch sed-4.10-2.fc45.s390x 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.s390x sqlite-libs-3.53.4-1.fc45.s390x systemd-libs-261.2-1.fc45.s390x systemd-standalone-sysusers-261.2-1.fc45.s390x tar-1.35-9.fc45.s390x tpm2-tss-4.2.0-1.fc45.s390x tree-sitter-srpm-macros-0.4.6-2.fc45.noarch unzip-6.0-71.fc45.s390x util-linux-2.42.2-3.fc45.s390x util-linux-core-2.42.2-3.fc45.s390x which-2.25-2.fc45.s390x xxhash-libs-0.8.3-5.fc45.s390x xz-5.8.3-2.fc45.s390x xz-libs-5.8.3-2.fc45.s390x zig-srpm-macros-1-9.fc45.noarch zip-3.0-46.fc45.s390x zlib-ng-compat-2.3.3-6.fc45.s390x zstd-1.5.7-6.fc45.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x 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-s390x-1787265868.069791/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-6465m6ry/python-elasticsearch/python-elasticsearch.spec) Config(child) 0 minutes 21 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-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1787265868.069791/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1787265868.069791/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-s390x-1787265868.069791/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.s390x rpm-sequoia-1.10.2-5.fc45.s390x dnf5-5.4.3.0-2.fc46.s390x dnf5-plugins-5.4.3.0-2.fc46.s390x 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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.src.rpm Updating and loading repositories: fedora 100% | 12.8 KiB/s | 6.1 KiB | 00m00s Copr repository 100% | 4.6 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-devel s390x 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 s390x 0:2.8.1-2.fc45 fedora 347.0 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 s390x 0:4.0.1-4.fc45 fedora 236.8 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 s390x 0:3.15.0~rc1-1.fc45 fedora 24.6 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 s390x 0:3.15.0~rc1-1.fc45 fedora 48.0 MiB python3-markupsafe s390x 0:3.0.2-10.fc45 fedora 62.6 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 4 MiB. After this operation, 162 MiB extra will be used (install 162 MiB, remove 0 B). [ 1/35] python3-devel-0:3.15.0~rc1-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/35] python3-pytest-0:9.1.1-1.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/35] python3-0:3.15.0~rc1-1.fc45.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/35] python3-libs-0:3.15.0~rc1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/35] python3-iniconfig-0:2.3.0-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/35] python3-packaging-0:26.3-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/35] python3-pluggy-0:1.6.0-8.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/35] python3-pygments-0:2.20.0-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/35] python3-docutils-0:0.23-2.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/35] python3-sphinx-1:9.1.0-7.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/35] expat-0:2.8.1-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/35] mpdecimal-0:4.0.1-4.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/35] python-pip-wheel-0:26.1.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/35] tzdata-0:2026c-1.fc45.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/35] python3-babel-0:2.18.0-4.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/35] python3-imagesize-0:2.0.0-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/35] python3-jinja2-0:3.1.6-10.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/35] python3-requests-0:2.34.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/35] python3-roman-numerals-0:4.1.0- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/35] python3-snowballstemmer-0:3.1.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/35] python3-sphinx-theme-alabaster- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/35] python3-markupsafe-0:3.0.2-10.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/35] python3-charset-normalizer-0:3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/35] python3-idna-0:3.18-2.fc45.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/35] python3-urllib3-0:2.7.0-7.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/35] pyproject-rpm-macros-0:1.23.2-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/35] python-rpm-macros-0:3.15-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/35] python3-rpm-generators-0:14-33. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/35] python3-rpm-macros-0:3.15-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/35] python3-sphinx_rtd_theme-0:3.1. 100% | 217.5 KiB/s | 86.3 KiB | 00m00s [31/35] fontawesome4-fonts-1:4.7.0-27.f 100% | 383.1 KiB/s | 203.8 KiB | 00m01s [32/35] python3-sphinxcontrib-jquery-0: 100% | 771.0 KiB/s | 114.1 KiB | 00m00s [33/35] google-roboto-slab-fonts-0:1.10 100% | 346.7 KiB/s | 238.9 KiB | 00m01s [34/35] fonts-filesystem-1:5.0.0-4.fc45 100% | 67.2 KiB/s | 8.7 KiB | 00m00s [35/35] lato-fonts-0:2.015-26.fc45.noar 100% | 3.8 MiB/s | 3.1 MiB | 00m01s -------------------------------------------------------------------------------- [35/35] Total 100% | 2.5 MiB/s | 3.7 MiB | 00m01s Running transaction [ 1/37] Verify package files 100% | 454.0 B/s | 35.0 B | 00m00s [ 2/37] Prepare transaction 100% | 448.0 B/s | 35.0 B | 00m00s [ 3/37] Installing python-rpm-macros-0: 100% | 0.0 B/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% | 269.9 MiB/s | 11.3 MiB | 00m00s [10/37] Installing tzdata-0:2026c-1.fc4 100% | 44.2 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% | 232.8 MiB/s | 238.4 KiB | 00m00s [13/37] Installing expat-0:2.8.1-2.fc45 100% | 12.6 MiB/s | 349.1 KiB | 00m00s [14/37] Installing python3-libs-0:3.15. 100% | 302.3 MiB/s | 48.4 MiB | 00m00s [15/37] Installing python3-0:3.15.0~rc1 100% | 1.4 MiB/s | 26.3 KiB | 00m00s [16/37] Installing python3-packaging-0: 100% | 163.2 MiB/s | 1.3 MiB | 00m00s [17/37] Installing python3-pygments-0:2 100% | 177.5 MiB/s | 11.5 MiB | 00m00s [18/37] Installing python3-docutils-0:0 100% | 138.9 MiB/s | 5.7 MiB | 00m00s [19/37] Installing python3-idna-0:3.18- 100% | 26.0 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% | 43.4 MiB/s | 222.4 KiB | 00m00s [24/37] Installing python3-babel-0:2.18 100% | 277.6 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% | 258.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.2 MiB/s | 66.8 KiB | 00m00s [30/37] Installing python3-jinja2-0:3.1 100% | 330.3 MiB/s | 3.3 MiB | 00m00s [31/37] Installing python3-charset-norm 100% | 22.7 MiB/s | 487.4 KiB | 00m00s [32/37] Installing python3-requests-0:2 100% | 112.6 MiB/s | 692.0 KiB | 00m00s [33/37] Installing python3-sphinx-1:9.1 100% | 188.0 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% | 42.5 MiB/s | 348.4 KiB | 00m00s [36/37] Installing python3-pytest-0:9.1 100% | 317.4 MiB/s | 24.4 MiB | 00m00s [37/37] Installing python3-devel-0:3.15 100% | 40.3 MiB/s | 2.5 MiB | 00m00s Complete! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-elasticsearch-9.4.1-2.fc46.src.rpm Updating and loading repositories: fedora 100% | 13.6 KiB/s | 6.1 KiB | 00m00s Copr repository 100% | 5.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "python3-devel-3.15.0~rc1-1.fc45.s390x" 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. Nothing to do. 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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.FBdbM9 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -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="s390x" RPM_OS="linux" RPM_BUILD_NCPUS="2" 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.YxnITR + 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.RbbkFE + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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.s390x-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.s390x-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.s390x-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% | 11.3 KiB/s | 6.1 KiB | 00m01s Copr repository 100% | 3.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.s390x" 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 0 B. After this operation, 13 MiB extra will be used (install 13 MiB, remove 0 B). [1/4] python3-hatchling-0:1.31.0-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/4] python3-pip-0:26.1.2-2.fc45.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/4] python3-pathspec-0:1.1.1-4.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/4] python3-trove-classifiers-0:2026. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/6] Verify package files 100% | 666.0 B/s | 4.0 B | 00m00s [2/6] Prepare transaction 100% | 129.0 B/s | 4.0 B | 00m00s [3/6] Installing python3-trove-classifi 100% | 5.7 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% | 25.1 MiB/s | 746.4 KiB | 00m00s [6/6] Installing python3-pip-0:26.1.2-2 100% | 137.0 MiB/s | 12.3 MiB | 00m00s Complete! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1d8K03 + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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.s390x-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.s390x-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.s390x-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% | 24.6 KiB/s | 6.1 KiB | 00m00s Copr repository 100% | 13.8 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.s390x" 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 s390x 0:3.14.3-1.fc46 copr_base 4.4 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 s390x 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 s390x 1:2.5.2-1.fc45 fedora 39.5 MiB python3-orjson s390x 0:3.12.0-1.fc46 fedora 761.3 KiB python3-pandas s390x 0:3.0.5-4.fc45 fedora 39.4 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 s390x 0:6.0.3-6.fc45 fedora 785.6 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 s390x 0:3.5.0-3.fc45 fedora 38.0 KiB flexiblas-netlib s390x 0:3.5.0-3.fc45 fedora 17.6 MiB flexiblas-openblas-openmp s390x 0:3.5.0-3.fc45 fedora 38.8 KiB less s390x 0:704-4.fc46 fedora 522.6 KiB libgfortran s390x 0:16.1.1-4.fc45.1 fedora 2.5 MiB libyaml s390x 0:0.2.5-19.fc45 fedora 126.0 KiB llhttp s390x 0:9.4.2-2.fc45 fedora 104.9 KiB openblas s390x 0:0.3.34-1.fc45 fedora 138.1 KiB openblas-openmp s390x 0:0.3.34-1.fc45 fedora 15.3 MiB python-setuptools-wheel noarch 0:83.0.0-2.fc45 fedora 933.0 KiB python3-Bottleneck s390x 0:1.6.0-5.fc45 fedora 593.2 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 s390x 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 s390x 0:7.15.4-1.fc46 fedora 0.0 B python3-cryptography s390x 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 s390x 0:1.8.0-9.fc45 fedora 158.1 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 s390x 0:6.7.1-4.fc45 fedora 334.1 KiB python3-mypy_extensions noarch 0:1.1.0-8.fc45 fedora 31.3 KiB python3-nh3 s390x 0:0.3.6-4.fc45 fedora 2.2 MiB python3-numexpr s390x 0:2.14.1-4.fc45 fedora 884.9 KiB python3-numpy-f2py s390x 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 s390x 0:0.5.2-4.fc45 fedora 157.3 KiB python3-pycparser noarch 0:3.00-4.fc45 fedora 685.5 KiB python3-pydantic-core s390x 0:2.46.4-11.fc45 fedora 5.9 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 s390x 0:1.22.0-5.fc45 fedora 549.7 KiB Transaction Summary: Installing: 87 packages Total size of inbound packages is 49 MiB. Need to download 40 MiB. After this operation, 214 MiB extra will be used (install 214 MiB, remove 0 B). [ 1/87] python3-anyio-0:4.14.2-2.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/87] python3-coverage-0:7.15.4-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/87] python3-httpx-0:0.28.1-14.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/87] python3-orjson-0:3.12.0-1.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/87] python3-pytest-asyncio-0:1.4.0- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/87] python3-pytest-cov-0:7.1.0-4.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/87] python3-pytest-mock-0:3.15.1-4. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/87] python3-sniffio-0:1.3.1-11.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/87] python3-typing-extensions-0:4.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/87] python3-aiohttp-0:3.14.3-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/87] python3-certifi-0:2026.01.04-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/87] python3-trio-0:0.33.0-3.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/87] python3-httpcore-0:1.0.9-9.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/87] python3-mypy_extensions-0:1.1.0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/87] python3-attrs-0:26.1.0-4.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/87] python3-platformdirs-0:4.9.1-4. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/87] python3-coverage+toml-0:7.15.4- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/87] python3-six-0:1.17.0-10.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/87] llhttp-0:9.4.2-2.fc45.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/87] python3-aiohappyeyeballs-0:2.7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/87] python3-aiosignal-0:1.4.0-9.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/87] python3-frozenlist-0:1.8.0-9.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/87] python3-multidict-0:6.7.1-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/87] python3-propcache-0:0.5.2-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/87] python3-yarl-0:1.22.0-5.fc45.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/87] python3-click-1:8.4.2-1.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/87] python3-pytokens-0:0.4.1-5.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/87] python3-outcome-0:1.3.0.post0-8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/87] python3-sortedcontainers-0:2.4. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/87] python3-h11-0:0.16.0-8.fc45.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/87] less-0:704-4.fc46.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/87] python3-cryptography-0:50.0.0-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/87] python3-cffi-0:2.1.1-1.fc46.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/87] python3-pycparser-0:3.00-4.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/87] python3-setuptools-0:83.0.0-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [36/87] python3-anyio+trio-0:4.14.2-2.f 100% | 19.6 KiB/s | 9.5 KiB | 00m00s [37/87] python3-build-0:1.5.1-1.fc46.no 100% | 121.8 KiB/s | 90.6 KiB | 00m01s [38/87] python3-elastic-transport-0:9.4 100% | 167.8 KiB/s | 134.6 KiB | 00m01s [39/87] python3-isort-0:8.0.1-3.fc45.no 100% | 395.1 KiB/s | 241.8 KiB | 00m01s [40/87] nox-0:2026.08.17-1.fc46.noarch 100% | 475.5 KiB/s | 200.6 KiB | 00m00s [41/87] python3-mypy-0:1.18.2-6.fc45.no 100% | 4.8 MiB/s | 4.1 MiB | 00m01s [42/87] python3-pydantic-0:2.13.4-5.fc4 100% | 4.0 MiB/s | 1.0 MiB | 00m00s [43/87] python3-numpy-1:2.5.2-1.fc45.s3 100% | 9.2 MiB/s | 7.7 MiB | 00m01s [44/87] python3-pandas-0:3.0.5-4.fc45.s 100% | 9.3 MiB/s | 7.7 MiB | 00m01s [45/87] python3-dateutil-1:2.9.0.post0- 100% | 1.4 MiB/s | 344.8 KiB | 00m00s [46/87] python3-pyyaml-0:6.0.3-6.fc45.s 100% | 993.1 KiB/s | 238.3 KiB | 00m00s [47/87] python3-tqdm-0:4.69.0-1.fc45.no 100% | 787.5 KiB/s | 180.3 KiB | 00m00s [48/87] twine-0:7.0.0-1.fc46.noarch 100% | 508.0 KiB/s | 124.5 KiB | 00m00s [49/87] python3-pyproject-hooks-0:1.2.0 100% | 130.4 KiB/s | 31.3 KiB | 00m00s [50/87] python3-argcomplete-0:3.6.3-7.f 100% | 410.3 KiB/s | 98.1 KiB | 00m00s [51/87] black-0:26.5.1-2.fc46.noarch 100% | 842.5 KiB/s | 444.0 KiB | 00m01s [52/87] python3-colorlog-0:6.12.0-1.fc4 100% | 120.4 KiB/s | 28.4 KiB | 00m00s [53/87] python3-dependency-groups-0:1.3 100% | 124.8 KiB/s | 31.1 KiB | 00m00s [54/87] python3-discovery-0:1.5.2-1.fc4 100% | 462.1 KiB/s | 109.5 KiB | 00m00s [55/87] python3-humanize-0:4.16.0-2.fc4 100% | 401.8 KiB/s | 92.8 KiB | 00m00s [56/87] python3-virtualenv-0:21.7.4-1.f 100% | 1.3 MiB/s | 305.5 KiB | 00m00s [57/87] python3-numpy-f2py-1:2.5.2-1.fc 100% | 2.1 MiB/s | 515.4 KiB | 00m00s [58/87] flexiblas-netlib-0:3.5.0-3.fc45 100% | 15.0 MiB/s | 5.0 MiB | 00m00s [59/87] python3-Bottleneck-0:1.6.0-5.fc 100% | 850.8 KiB/s | 194.8 KiB | 00m00s [60/87] python3-numexpr-0:2.14.1-4.fc45 100% | 1.0 MiB/s | 251.5 KiB | 00m00s [61/87] python3-annotated-types-0:0.8.0 100% | 131.9 KiB/s | 30.6 KiB | 00m00s [62/87] python3-pydantic-core-0:2.46.4- 100% | 6.2 MiB/s | 1.8 MiB | 00m00s [63/87] python3-typing-inspection-0:0.4 100% | 149.7 KiB/s | 33.8 KiB | 00m00s [64/87] libyaml-0:0.2.5-19.fc45.s390x 100% | 261.3 KiB/s | 61.9 KiB | 00m00s [65/87] python3-id-0:1.6.1-3.fc45.noarc 100% | 128.1 KiB/s | 29.7 KiB | 00m00s [66/87] python3-keyring-0:25.7.0-9.fc45 100% | 530.4 KiB/s | 122.5 KiB | 00m00s [67/87] python3-readme-renderer-0:44.0- 100% | 138.3 KiB/s | 33.9 KiB | 00m00s [68/87] python3-requests-toolbelt-0:1.0 100% | 525.4 KiB/s | 118.2 KiB | 00m00s [69/87] python3-rfc3986-0:2.0.0-8.fc45. 100% | 298.1 KiB/s | 68.9 KiB | 00m00s [70/87] python3-rich-0:15.0.0-4.fc45.no 100% | 2.5 MiB/s | 667.7 KiB | 00m00s [71/87] python3-filelock-0:3.20.3-4.fc4 100% | 188.4 KiB/s | 45.6 KiB | 00m00s [72/87] python-setuptools-wheel-0:83.0. 100% | 3.1 MiB/s | 888.0 KiB | 00m00s [73/87] python3-distlib-0:0.4.0-7.fc45. 100% | 1.1 MiB/s | 270.7 KiB | 00m00s [74/87] flexiblas-0:3.5.0-3.fc45.s390x 100% | 96.1 KiB/s | 22.6 KiB | 00m00s [75/87] flexiblas-openblas-openmp-0:3.5 100% | 76.0 KiB/s | 16.7 KiB | 00m00s [76/87] libgfortran-0:16.1.1-4.fc45.1.s 100% | 2.5 MiB/s | 634.0 KiB | 00m00s [77/87] python3-jaraco-classes-0:3.4.0- 100% | 92.5 KiB/s | 21.8 KiB | 00m00s [78/87] python3-jaraco-context-0:6.1.0- 100% | 102.1 KiB/s | 23.1 KiB | 00m00s [79/87] python3-jaraco-functools-0:4.6. 100% | 117.2 KiB/s | 27.5 KiB | 00m00s [80/87] python3-jeepney-0:0.9.0-10.fc45 100% | 1.3 MiB/s | 340.1 KiB | 00m00s [81/87] python3-secretstorage-0:3.5.0-4 100% | 205.2 KiB/s | 47.0 KiB | 00m00s [82/87] python3-nh3-0:0.3.6-4.fc45.s390 100% | 2.7 MiB/s | 685.6 KiB | 00m00s [83/87] python3-markdown-it-py-0:4.2.0- 100% | 891.1 KiB/s | 213.0 KiB | 00m00s [84/87] python3-more-itertools-0:11.1.0 100% | 570.8 KiB/s | 135.9 KiB | 00m00s [85/87] openblas-openmp-0:0.3.34-1.fc45 100% | 12.5 MiB/s | 4.3 MiB | 00m00s [86/87] python3-mdurl-0:0.1.2-16.fc45.n 100% | 133.6 KiB/s | 31.3 KiB | 00m00s [87/87] openblas-0:0.3.34-1.fc45.s390x 100% | 207.2 KiB/s | 48.1 KiB | 00m00s -------------------------------------------------------------------------------- [87/87] Total 100% | 6.8 MiB/s | 39.7 MiB | 00m06s Running transaction [ 1/89] Verify package files 100% | 776.0 B/s | 87.0 B | 00m00s [ 2/89] Prepare transaction 100% | 750.0 B/s | 87.0 B | 00m00s [ 3/89] Installing python3-attrs-0:26.1 100% | 148.3 MiB/s | 455.7 KiB | 00m00s [ 4/89] Installing python3-typing-exten 100% | 271.9 MiB/s | 557.0 KiB | 00m00s [ 5/89] Installing python3-platformdirs 100% | 122.7 MiB/s | 251.3 KiB | 00m00s [ 6/89] Installing python3-certifi-0:20 100% | 11.0 MiB/s | 11.3 KiB | 00m00s [ 7/89] Installing python3-more-itertoo 100% | 308.6 MiB/s | 632.1 KiB | 00m00s [ 8/89] Installing python3-jeepney-0:0. 100% | 231.8 MiB/s | 1.9 MiB | 00m00s [ 9/89] Installing libgfortran-0:16.1.1 100% | 353.5 MiB/s | 2.5 MiB | 00m00s [10/89] Installing python3-filelock-0:3 100% | 105.9 MiB/s | 108.4 KiB | 00m00s [11/89] Installing python3-discovery-0: 100% | 168.3 MiB/s | 344.8 KiB | 00m00s [12/89] Installing python3-propcache-0: 100% | 158.6 MiB/s | 162.4 KiB | 00m00s [13/89] Installing python3-multidict-0: 100% | 165.6 MiB/s | 339.1 KiB | 00m00s [14/89] Installing python3-frozenlist-0 100% | 158.3 MiB/s | 162.1 KiB | 00m00s [15/89] Installing python3-mypy_extensi 100% | 0.0 B/s | 33.3 KiB | 00m00s [16/89] Installing python3-sniffio-0:1. 100% | 40.2 MiB/s | 41.1 KiB | 00m00s [17/89] Installing python3-anyio-0:4.14 100% | 240.6 MiB/s | 1.7 MiB | 00m00s [18/89] Installing python3-aiosignal-0: 100% | 27.3 MiB/s | 28.0 KiB | 00m00s [19/89] Installing python3-yarl-0:1.22. 100% | 271.9 MiB/s | 556.9 KiB | 00m00s [20/89] Installing python3-jaraco-class 100% | 44.9 MiB/s | 46.0 KiB | 00m00s [21/89] Installing python3-jaraco-funct 100% | 82.7 MiB/s | 84.7 KiB | 00m00s [22/89] Installing python3-pydantic-cor 100% | 294.9 MiB/s | 5.9 MiB | 00m00s [23/89] Installing python3-typing-inspe 100% | 95.7 MiB/s | 98.0 KiB | 00m00s [24/89] Installing python3-outcome-0:1. 100% | 14.8 MiB/s | 45.6 KiB | 00m00s [25/89] Installing python3-setuptools-0 100% | 212.9 MiB/s | 7.5 MiB | 00m00s [26/89] Installing python3-coverage-0:7 100% | 79.5 MiB/s | 2.1 MiB | 00m00s [27/89] Installing python3-coverage+tom 100% | 0.0 B/s | 124.0 B | 00m00s [28/89] Installing python3-pycparser-0: 100% | 226.3 MiB/s | 695.3 KiB | 00m00s [29/89] Installing python3-cffi-0:2.1.1 100% | 56.1 MiB/s | 1.4 MiB | 00m00s [30/89] Installing python3-cryptography 100% | 228.2 MiB/s | 7.1 MiB | 00m00s [31/89] Installing python3-secretstorag 100% | 136.4 MiB/s | 139.7 KiB | 00m00s [32/89] Installing openblas-0:0.3.34-1. 100% | 136.6 MiB/s | 139.9 KiB | 00m00s [33/89] Installing openblas-openmp-0:0. 100% | 282.8 MiB/s | 15.3 MiB | 00m00s [34/89] Installing flexiblas-netlib-0:3 100% | 220.0 MiB/s | 17.6 MiB | 00m00s [35/89] Installing flexiblas-0:3.5.0-3. 100% | 0.0 B/s | 39.2 KiB | 00m00s [36/89] Installing flexiblas-openblas-o 100% | 7.8 MiB/s | 39.7 KiB | 00m00s [37/89] Installing python3-numpy-1:2.5. 100% | 253.7 MiB/s | 39.8 MiB | 00m00s [38/89] Installing python3-numpy-f2py-1 100% | 68.6 MiB/s | 2.2 MiB | 00m00s [39/89] Installing python3-Bottleneck-0 100% | 120.3 MiB/s | 615.9 KiB | 00m00s [40/89] Installing python3-numexpr-0:2. 100% | 175.1 MiB/s | 896.6 KiB | 00m00s [41/89] Installing python3-mdurl-0:0.1. 100% | 24.3 MiB/s | 49.7 KiB | 00m00s [42/89] Installing python3-markdown-it- 100% | 24.3 MiB/s | 621.1 KiB | 00m00s [43/89] Installing python3-rich-0:15.0. 100% | 235.0 MiB/s | 3.5 MiB | 00m00s [44/89] Installing less-0:704-4.fc46.s3 100% | 24.5 MiB/s | 526.4 KiB | 00m00s [45/89] Installing python3-click-1:8.4. 100% | 266.2 MiB/s | 1.3 MiB | 00m00s [46/89] Installing python3-nh3-0:0.3.6- 100% | 242.4 MiB/s | 2.2 MiB | 00m00s [47/89] Installing python3-readme-rende 100% | 57.7 MiB/s | 59.0 KiB | 00m00s [48/89] Installing python3-jaraco-conte 100% | 39.0 MiB/s | 40.0 KiB | 00m00s [49/89] Installing python3-keyring-0:25 100% | 14.6 MiB/s | 328.2 KiB | 00m00s [50/89] Installing python3-distlib-0:0. 100% | 300.7 MiB/s | 1.2 MiB | 00m00s [51/89] Installing python-setuptools-wh 100% | 303.9 MiB/s | 933.7 KiB | 00m00s [52/89] Installing python3-virtualenv-0 100% | 29.8 MiB/s | 883.7 KiB | 00m00s [53/89] Installing python3-h11-0:0.16.0 100% | 143.3 MiB/s | 293.6 KiB | 00m00s [54/89] Installing python3-httpcore-0:1 100% | 176.1 MiB/s | 901.4 KiB | 00m00s [55/89] Installing python3-sortedcontai 100% | 129.6 MiB/s | 398.2 KiB | 00m00s [56/89] Installing python3-trio-0:0.33. 100% | 256.9 MiB/s | 6.7 MiB | 00m00s [57/89] Installing python3-pytokens-0:0 100% | 174.6 MiB/s | 178.8 KiB | 00m00s [58/89] Installing python3-aiohappyeyeb 100% | 91.6 MiB/s | 93.8 KiB | 00m00s [59/89] Installing llhttp-0:9.4.2-2.fc4 100% | 103.8 MiB/s | 106.3 KiB | 00m00s [60/89] Installing python3-rfc3986-0:2. 100% | 102.7 MiB/s | 210.3 KiB | 00m00s [61/89] Installing python3-requests-too 100% | 79.3 MiB/s | 324.7 KiB | 00m00s [62/89] Installing python3-id-0:1.6.1-3 100% | 71.4 MiB/s | 73.1 KiB | 00m00s [63/89] Installing libyaml-0:0.2.5-19.f 100% | 124.5 MiB/s | 127.4 KiB | 00m00s [64/89] Installing python3-six-0:1.17.0 100% | 117.6 MiB/s | 120.5 KiB | 00m00s [65/89] Installing python3-dateutil-1:2 100% | 218.1 MiB/s | 893.4 KiB | 00m00s [66/89] Installing python3-annotated-ty 100% | 84.9 MiB/s | 86.9 KiB | 00m00s [67/89] Installing python3-humanize-0:4 100% | 42.9 MiB/s | 263.7 KiB | 00m00s [68/89] Installing python3-dependency-g 100% | 2.5 MiB/s | 49.2 KiB | 00m00s [69/89] Installing python3-colorlog-0:6 100% | 63.7 MiB/s | 65.2 KiB | 00m00s [70/89] Installing python3-argcomplete- 100% | 15.8 MiB/s | 340.5 KiB | 00m00s [71/89] Installing python3-pyproject-ho 100% | 73.2 MiB/s | 75.0 KiB | 00m00s [72/89] Installing python3-build-0:1.5. 100% | 11.5 MiB/s | 236.2 KiB | 00m00s [73/89] Installing nox-0:2026.08.17-1.f 100% | 33.8 MiB/s | 794.9 KiB | 00m00s [74/89] Installing python3-pydantic-0:2 100% | 221.4 MiB/s | 5.3 MiB | 00m00s [75/89] Installing python3-pandas-0:3.0 100% | 293.3 MiB/s | 39.6 MiB | 00m00s [76/89] Installing python3-pyyaml-0:6.0 100% | 195.2 MiB/s | 799.6 KiB | 00m00s [77/89] Installing twine-0:7.0.0-1.fc46 100% | 15.0 MiB/s | 322.5 KiB | 00m00s [78/89] Installing python3-aiohttp-0:3. 100% | 263.7 MiB/s | 4.5 MiB | 00m00s [79/89] Installing black-0:26.5.1-2.fc4 100% | 83.1 MiB/s | 2.2 MiB | 00m00s [80/89] Installing python3-anyio+trio-0 100% | 0.0 B/s | 124.0 B | 00m00s [81/89] Installing python3-httpx-0:0.28 100% | 201.3 MiB/s | 1.0 MiB | 00m00s [82/89] Installing python3-pytest-cov-0 100% | 88.6 MiB/s | 181.4 KiB | 00m00s [83/89] Installing python3-elastic-tran 100% | 62.3 MiB/s | 510.0 KiB | 00m00s [84/89] Installing python3-mypy-0:1.18. 100% | 217.9 MiB/s | 24.2 MiB | 00m00s [85/89] Installing python3-tqdm-0:4.69. 100% | 25.8 MiB/s | 606.5 KiB | 00m00s [86/89] Installing python3-pytest-mock- 100% | 136.2 MiB/s | 139.5 KiB | 00m00s [87/89] Installing python3-pytest-async 100% | 170.9 MiB/s | 175.0 KiB | 00m00s [88/89] Installing python3-orjson-0:3.1 100% | 186.9 MiB/s | 765.5 KiB | 00m00s [89/89] Installing python3-isort-0:8.0. 100% | 11.4 MiB/s | 804.9 KiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: copr_base Complete! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2zHlIU + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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.s390x-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.s390x-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.s390x-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% | 24.0 KiB/s | 6.1 KiB | 00m00s Copr repository 100% | 13.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.s390x" 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.s390x" 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.s390x" 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.s390x" is already installed. Package "python3-orjson-3.12.0-1.fc46.s390x" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-pandas-3.0.5-4.fc45.s390x" 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.s390x" 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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.OLxaFZ + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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.s390x-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.s390x-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.s390x-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.oIELbW + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 'elastic-transport' from https://elastic-transport-python.readthedocs.io/en/latest/objects.inv ... loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... 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)")) 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)")) 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.ChMDXa + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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.s390x-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.s390x-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.s390x-pyproject-dep-overrides ']' ++ wc -l /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.s390x-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.s390x-pyproject-files --output-modules /builddir/build/BUILD/python-elasticsearch-9.4.1-build/python-elasticsearch-9.4.1-2.fc46.s390x-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.s390x-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 -j2 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 -j2 /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__/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__/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__/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__/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/__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/__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.pyc: replacing with normalized version /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/__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/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/_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/__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/_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__/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/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/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/_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__/_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__/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__/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__/__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/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__/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__/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__/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__/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__/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__/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__/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/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__/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/__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__/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__/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__/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__/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__/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__/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/__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/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__/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__/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__/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/_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/_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__/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/_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.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__/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__/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__/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/_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.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.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__/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/_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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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/_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__/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__/_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__/_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__/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__/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__/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__/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/__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/_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__/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__/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/_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__/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__/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__/__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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/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__/_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__/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__/_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__/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__/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__/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__/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.AheKK8 + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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=z15 -mtune=z17 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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=2 + /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 71.87s (0:01:11) = RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.AheKK8 (%check) Bad exit status from /var/tmp/rpm-tmp.AheKK8 (%check) 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-s390x-1787265868.069791/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-s390x) 2 minutes 16 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 08fc54761bd14c6b929d69f2f3ec3445 -D /var/lib/mock/fedora-rawhide-s390x-1787265868.069791/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 s390x /builddir/build/originals/python-elasticsearch.spec' Copr build error: Build failed