Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'], chrootPath='/var/lib/mock/f43-build-58283916-6563936/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '114685d3b1964e7aa5ca35271c139ef6', '-D', '/var/lib/mock/f43-build-58283916-6563936/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737158400 Wrote: /builddir/build/SRPMS/python-sshtunnel-0.4.0-15.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'], chrootPath='/var/lib/mock/f43-build-58283916-6563936/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e8543f994fc3428d9ae4e2d76c4633ca', '-D', '/var/lib/mock/f43-build-58283916-6563936/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737158400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.1mLKKG Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KYThLA + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-build + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-build + rm -rf sshtunnel-0.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sshtunnel-0.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sshtunnel-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '1{\@^#!/usr/bin/env python@d}' sshtunnel.py + sed -i 's/^import mock/from unittest import mock/' tests/__init__.py tests/test_forwarder.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.dKWyva + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-build + cd sshtunnel-0.4.0 + 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-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir --output /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires -r Handling setuptools from build-system.requires Requirement not satisfied: setuptools Handling wheel from build-system.requires Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-sshtunnel-0.4.0-15.fc43.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'], chrootPath='/var/lib/mock/f43-build-58283916-6563936/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bccecfde89e64dc59a7ca4bcbbfa24f3', '-D', '/var/lib/mock/f43-build-58283916-6563936/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.IzIitZ + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-build + cd sshtunnel-0.4.0 + 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-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir --output /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires -r Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 74.1.3) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info writing sshtunnel.egg-info/PKG-INFO writing dependency_links to sshtunnel.egg-info/dependency_links.txt writing entry points to sshtunnel.egg-info/entry_points.txt writing requirements to sshtunnel.egg-info/requires.txt writing top-level names to sshtunnel.egg-info/top_level.txt reading manifest file 'sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file 'sshtunnel.egg-info/SOURCES.txt' running dist_info writing sshtunnel.egg-info/PKG-INFO writing dependency_links to sshtunnel.egg-info/dependency_links.txt writing entry points to sshtunnel.egg-info/entry_points.txt writing requirements to sshtunnel.egg-info/requires.txt writing top-level names to sshtunnel.egg-info/top_level.txt reading manifest file 'sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file 'sshtunnel.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/sshtunnel-0.4.0.dist-info' Handling paramiko>=2.7.2 from hook generated metadata: Requires-Dist (sshtunnel) Requirement not satisfied: paramiko>=2.7.2 Handling sphinx; extra == "build-sphinx" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: sphinx; extra == "build-sphinx" Handling sphinxcontrib-napoleon; extra == "build-sphinx" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: sphinxcontrib-napoleon; extra == "build-sphinx" Handling check-manifest; extra == "dev" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: check-manifest; extra == "dev" Handling tox>=1.8.1; extra == "test" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: tox>=1.8.1; extra == "test" + cat /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires + rm -rfv sshtunnel-0.4.0.dist-info/ removed 'sshtunnel-0.4.0.dist-info/entry_points.txt' removed 'sshtunnel-0.4.0.dist-info/top_level.txt' removed 'sshtunnel-0.4.0.dist-info/METADATA' removed 'sshtunnel-0.4.0.dist-info/LICENSE' removed directory 'sshtunnel-0.4.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-sshtunnel-0.4.0-15.fc43.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'], chrootPath='/var/lib/mock/f43-build-58283916-6563936/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2d1a0c52d9164d498fadbba41a8297da', '-D', '/var/lib/mock/f43-build-58283916-6563936/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-sshtunnel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ldVqF7 + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-build + cd sshtunnel-0.4.0 + 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-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir --output /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires -r Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 74.1.3) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info writing sshtunnel.egg-info/PKG-INFO writing dependency_links to sshtunnel.egg-info/dependency_links.txt writing entry points to sshtunnel.egg-info/entry_points.txt writing requirements to sshtunnel.egg-info/requires.txt writing top-level names to sshtunnel.egg-info/top_level.txt reading manifest file 'sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file 'sshtunnel.egg-info/SOURCES.txt' running dist_info writing sshtunnel.egg-info/PKG-INFO writing dependency_links to sshtunnel.egg-info/dependency_links.txt writing entry points to sshtunnel.egg-info/entry_points.txt writing requirements to sshtunnel.egg-info/requires.txt writing top-level names to sshtunnel.egg-info/top_level.txt reading manifest file 'sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file 'sshtunnel.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/sshtunnel-0.4.0.dist-info' Handling paramiko>=2.7.2 from hook generated metadata: Requires-Dist (sshtunnel) Requirement satisfied: paramiko>=2.7.2 (installed: paramiko 3.5.1) Handling sphinx; extra == "build-sphinx" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: sphinx; extra == "build-sphinx" Handling sphinxcontrib-napoleon; extra == "build-sphinx" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: sphinxcontrib-napoleon; extra == "build-sphinx" Handling check-manifest; extra == "dev" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: check-manifest; extra == "dev" Handling tox>=1.8.1; extra == "test" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: tox>=1.8.1; extra == "test" + cat /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires + rm -rfv sshtunnel-0.4.0.dist-info/ removed 'sshtunnel-0.4.0.dist-info/entry_points.txt' removed 'sshtunnel-0.4.0.dist-info/top_level.txt' removed 'sshtunnel-0.4.0.dist-info/METADATA' removed 'sshtunnel-0.4.0.dist-info/LICENSE' removed directory 'sshtunnel-0.4.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-sshtunnel-0.4.0-15.fc43.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-sshtunnel.spec'], chrootPath='/var/lib/mock/f43-build-58283916-6563936/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ec06dd30e4b040779071e5021342ab5e', '-D', '/var/lib/mock/f43-build-58283916-6563936/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf', '--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', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-sshtunnel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.xybkpf + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-build + cd sshtunnel-0.4.0 + 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-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir --output /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires -r Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 74.1.3) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info writing sshtunnel.egg-info/PKG-INFO writing dependency_links to sshtunnel.egg-info/dependency_links.txt writing entry points to sshtunnel.egg-info/entry_points.txt writing requirements to sshtunnel.egg-info/requires.txt writing top-level names to sshtunnel.egg-info/top_level.txt reading manifest file 'sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file 'sshtunnel.egg-info/SOURCES.txt' running dist_info writing sshtunnel.egg-info/PKG-INFO writing dependency_links to sshtunnel.egg-info/dependency_links.txt writing entry points to sshtunnel.egg-info/entry_points.txt writing requirements to sshtunnel.egg-info/requires.txt writing top-level names to sshtunnel.egg-info/top_level.txt reading manifest file 'sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file 'sshtunnel.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/sshtunnel-0.4.0.dist-info' Handling paramiko>=2.7.2 from hook generated metadata: Requires-Dist (sshtunnel) Requirement satisfied: paramiko>=2.7.2 (installed: paramiko 3.5.1) Handling sphinx; extra == "build-sphinx" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: sphinx; extra == "build-sphinx" Handling sphinxcontrib-napoleon; extra == "build-sphinx" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: sphinxcontrib-napoleon; extra == "build-sphinx" Handling check-manifest; extra == "dev" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: check-manifest; extra == "dev" Handling tox>=1.8.1; extra == "test" from hook generated metadata: Requires-Dist (sshtunnel) Ignoring alien requirement: tox>=1.8.1; extra == "test" + cat /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-buildrequires + rm -rfv sshtunnel-0.4.0.dist-info/ removed 'sshtunnel-0.4.0.dist-info/entry_points.txt' removed 'sshtunnel-0.4.0.dist-info/top_level.txt' removed 'sshtunnel-0.4.0.dist-info/METADATA' removed 'sshtunnel-0.4.0.dist-info/LICENSE' removed directory 'sshtunnel-0.4.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gthoxU + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sshtunnel-0.4.0 + mkdir -p /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir Processing /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running dist_info creating /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info writing /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-modern-metadata-jcw12lle/sshtunnel-0.4.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: sshtunnel Building wheel for sshtunnel (pyproject.toml): started Running command Building wheel for sshtunnel (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running bdist_wheel running build running build_py creating build creating build/lib copying sshtunnel.py -> build/lib installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel copying build/lib/sshtunnel.py -> build/bdist.linux-aarch64/wheel/. running install_egg_info running egg_info writing sshtunnel.egg-info/PKG-INFO writing dependency_links to sshtunnel.egg-info/dependency_links.txt writing entry points to sshtunnel.egg-info/entry_points.txt writing requirements to sshtunnel.egg-info/requires.txt writing top-level names to sshtunnel.egg-info/top_level.txt reading manifest file 'sshtunnel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.github/*' warning: no previously-included files found matching '.circleci/*' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'Pipfile*' adding license file 'LICENSE' writing manifest file 'sshtunnel.egg-info/SOURCES.txt' Copying sshtunnel.egg-info to build/bdist.linux-aarch64/wheel/./sshtunnel-0.4.0-py3.13.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/sshtunnel-0.4.0.dist-info/WHEEL creating '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir/pip-wheel-aewj892j/.tmp-okieje_t/sshtunnel-0.4.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'sshtunnel.py' adding 'sshtunnel-0.4.0.dist-info/LICENSE' adding 'sshtunnel-0.4.0.dist-info/METADATA' adding 'sshtunnel-0.4.0.dist-info/WHEEL' adding 'sshtunnel-0.4.0.dist-info/entry_points.txt' adding 'sshtunnel-0.4.0.dist-info/top_level.txt' adding 'sshtunnel-0.4.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for sshtunnel (pyproject.toml): finished with status 'done' Created wheel for sshtunnel: filename=sshtunnel-0.4.0-py2.py3-none-any.whl size=24700 sha256=b5f3510c809431c5baa9b3fa7dea6fdacd02a7be843285236142bc2ee263bf4c Stored in directory: /builddir/.cache/pip/wheels/ba/48/b8/991be63b9788c66bc21e0e2536a3e255cd016b3e45d6b3f14b Successfully built sshtunnel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2vtOGE + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-build + '[' /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-sshtunnel-0.4.0-build + mkdir /builddir/build/BUILD/python-sshtunnel-0.4.0-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sshtunnel-0.4.0 ++ ls /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir/sshtunnel-0.4.0-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=sshtunnel==0.4.0 + '[' -z sshtunnel==0.4.0 ']' + TMPDIR=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-sshtunnel-0.4.0-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-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir sshtunnel==0.4.0 Using pip 25.0.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/pyproject-wheeldir Processing ./pyproject-wheeldir/sshtunnel-0.4.0-py2.py3-none-any.whl Installing collected packages: sshtunnel Creating /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/bin/sshtunnel to 755 Successfully installed sshtunnel-0.4.0 + '[' -d /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/bin/sshtunnel /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/bin/sshtunnel: updating + rm -rfv /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/sshtunnel-0.4.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/sshtunnel-0.4.0.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-sshtunnel-0.4.0-build/BUILDROOT --record /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/sshtunnel-0.4.0.dist-info/RECORD --output /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-record + rm -fv /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/sshtunnel-0.4.0.dist-info/RECORD removed '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/sshtunnel-0.4.0.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/sshtunnel-0.4.0.dist-info/REQUESTED removed '/builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/sshtunnel-0.4.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-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-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-sshtunnel-0.4.0-build/python-sshtunnel-0.4.0-15.fc43.noarch-pyproject-record --prefix /usr sshtunnel + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/brp-strip-static-archive /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 -j12 Bytecompiling .py files below /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/__pycache__/sshtunnel.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/__pycache__/sshtunnel.cpython-313.pyc: replacing with normalized version Scanned 8 directories and 10 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lEBZp0 + umask 022 + cd /builddir/build/BUILD/python-sshtunnel-0.4.0-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sshtunnel-0.4.0 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-sshtunnel-0.4.0-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=12 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 rootdir: /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0 configfile: pyproject.toml collected 51 items tests/test_forwarder.py .FFFFF..F..FFFFFFF.FFFFF...F...F....FFF.F....... [ 94%] ... [100%] =================================== FAILURES =================================== _______________________ SSHClientTest.test_check_tunnels _______________________ self = @unittest.skipIf(sys.version_info < (2, 7), reason="Cannot intercept logging messages in py26") def test_check_tunnels(self): """ Test method checking if tunnels are up """ remote_address = (self.eaddr, self.eport) > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=remote_address, logger=self.log, skip_tunnel_checkup=False, ) as server: tests/test_forwarder.py:972: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:37,839| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:37,840| INF | MainThrea/0222@test_forw | setUp for: TEST_CHECK_TUNNELS() 2025-03-26 14:27:37,840| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:51775 2025-03-26 14:27:37,840| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:54409 2025-03-26 14:27:37,840| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:37,841| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:37,841| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:37,841| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:37,841| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:51775 as user 'y67PHiSilPjf' 2025-03-26 14:27:37,841| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:37,841| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:37,844| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:37,870| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:37,871| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:37,914| ERR | Thread-2/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | ) 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | sig = self.key.sign( 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | data, 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | ...<3 lines>... 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | ) 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:37,916| ERR | Thread-2/1942@transport | 2025-03-26 14:27:37,917| INF | MainThrea/0238@test_forw | tearDown for: TEST_CHECK_TUNNELS() 2025-03-26 14:27:37,917| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:37,917| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:37,917| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:37,917| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:37,917| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:38,917| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:38,917| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:38,918| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 33098) 2025-03-26 14:27:38,918| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:38,918| DEB | echo-serv/0262@test_forw | echo-server waiting for forward-server to end... 2025-03-26 14:27:38,918| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:38,918| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:38,919| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:38,919| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:38,919| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:38,919| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:38,919| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_CHECK_TUNNELS() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:51775 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:54409 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:51775 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_CHECK_TUNNELS() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 33098) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal DEBUG sshtunnel:test_forwarder.py:262 echo-server waiting for forward-server to end... INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ____________ SSHClientTest.test_cli_main_exits_when_pressing_enter _____________ self = input = @mock.patch('sshtunnel.input_', return_value=linesep) def test_cli_main_exits_when_pressing_enter(self, input): """ Test that _cli_main() function quits when Enter is pressed """ self.start_echo_and_ssh_server() > sshtunnel._cli_main(args=[self.saddr, '-U', SSH_USERNAME, '-P', SSH_PASSWORD, '-p', str(self.sport), '-R', '{0}:{1}'.format(self.eaddr, self.eport), '-c', '', '-n'], host_pkey_directories=[]) tests/test_forwarder.py:1003: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ sshtunnel.py:1915: in _cli_main with open_tunnel(**arguments) as tunnel: sshtunnel.py:1607: in __enter__ self.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:39,112| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:39,112| INF | MainThrea/0222@test_forw | setUp for: TEST_CLI_MAIN_EXITS_WHEN_PRESSING_ENTER() 2025-03-26 14:27:39,112| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:42895 2025-03-26 14:27:39,112| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:45033 2025-03-26 14:27:39,113| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:39,114| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:39,141| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:39,141| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:39,144| ERR | Thread-6/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | ) 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | sig = self.key.sign( 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | data, 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | ...<3 lines>... 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | ) 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:39,145| ERR | Thread-6/1942@transport | 2025-03-26 14:27:39,146| INF | MainThrea/0238@test_forw | tearDown for: TEST_CLI_MAIN_EXITS_WHEN_PRESSING_ENTER() 2025-03-26 14:27:39,146| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:39,146| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:39,146| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:39,146| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:39,146| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:40,146| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:40,146| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:40,147| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 52142) 2025-03-26 14:27:40,147| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:40,147| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:40,147| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:40,147| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:40,148| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:40,148| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:40,148| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:40,148| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_CLI_MAIN_EXITS_WHEN_PRESSING_ENTER() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:42895 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:45033 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_CLI_MAIN_EXITS_WHEN_PRESSING_ENTER() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 52142) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl __________________ SSHClientTest.test_connect_by_paramiko_key __________________ self = def test_connect_by_paramiko_key(self): """ Test connecting when ssh_private_key is a paramiko.RSAKey """ ssh_key = paramiko.RSAKey.from_private_key_file( get_test_data_path(PKEY_FILE) ) > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_pkey=ssh_key, remote_bind_address=(self.eaddr, self.eport), logger=self.log, ): tests/test_forwarder.py:473: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1403: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:40,314| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:40,314| INF | MainThrea/0222@test_forw | setUp for: TEST_CONNECT_BY_PARAMIKO_KEY() 2025-03-26 14:27:40,314| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:54483 2025-03-26 14:27:40,314| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:56053 2025-03-26 14:27:40,339| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:40,339| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:40,339| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:40,340| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:40,340| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:54483 as user 'y67PHiSilPjf' 2025-03-26 14:27:40,340| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:40,340| DEB | MainThrea/1399@sshtunnel | Trying to log in with key: b'60733844cb5186657fdedaa22b5a57d5' 2025-03-26 14:27:40,341| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:40,366| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:40,367| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:40,409| ERR | Thread-10/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:40,410| ERR | Thread-10/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:40,410| ERR | Thread-10/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:40,410| ERR | Thread-10/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:40,410| ERR | Thread-10/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:40,410| ERR | Thread-10/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | ) 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | sig = self.key.sign( 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | data, 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | ...<3 lines>... 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | ) 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:40,411| ERR | Thread-10/1942@transport | 2025-03-26 14:27:40,412| INF | MainThrea/0238@test_forw | tearDown for: TEST_CONNECT_BY_PARAMIKO_KEY() 2025-03-26 14:27:40,412| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:40,412| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:40,412| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:40,412| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:40,412| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:41,411| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:41,412| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:41,412| DEB | echo-serv/0262@test_forw | echo-server waiting for forward-server to end... 2025-03-26 14:27:41,412| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:41,413| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:41,413| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:41,413| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:41,413| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:41,413| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:41,413| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:41,413| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_CONNECT_BY_PARAMIKO_KEY() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:54483 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:56053 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:54483 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1399 Trying to log in with key: b'60733844cb5186657fdedaa22b5a57d5' DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_CONNECT_BY_PARAMIKO_KEY() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() DEBUG sshtunnel:test_forwarder.py:262 echo-server waiting for forward-server to end... INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl __________________ SSHClientTest.test_connect_by_rsa_key_file __________________ self = def test_connect_by_rsa_key_file(self): """ Test connecting using a RSA key file """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_pkey=get_test_data_path(PKEY_FILE), remote_bind_address=(self.eaddr, self.eport), logger=self.log, ): tests/test_forwarder.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1403: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:41,609| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:41,609| INF | MainThrea/0222@test_forw | setUp for: TEST_CONNECT_BY_RSA_KEY_FILE() 2025-03-26 14:27:41,609| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:47389 2025-03-26 14:27:41,609| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:34351 2025-03-26 14:27:41,610| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:41,610| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:41,610| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:41,610| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:41,635| DEB | MainThrea/1308@sshtunnel | Private key file (/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/tests/testrsa.key, ) successfully loaded 2025-03-26 14:27:41,635| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:47389 as user 'y67PHiSilPjf' 2025-03-26 14:27:41,635| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:41,635| DEB | MainThrea/1399@sshtunnel | Trying to log in with key: b'60733844cb5186657fdedaa22b5a57d5' 2025-03-26 14:27:41,636| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:41,661| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:41,662| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:41,704| ERR | Thread-14/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | ) 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | sig = self.key.sign( 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | data, 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | ...<3 lines>... 2025-03-26 14:27:41,705| ERR | Thread-14/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:41,706| ERR | Thread-14/1942@transport | ) 2025-03-26 14:27:41,706| ERR | Thread-14/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:41,706| ERR | Thread-14/1942@transport | 2025-03-26 14:27:41,706| INF | MainThrea/0238@test_forw | tearDown for: TEST_CONNECT_BY_RSA_KEY_FILE() 2025-03-26 14:27:41,706| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:41,706| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:41,706| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:41,706| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:41,706| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:42,706| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:42,707| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:42,707| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 41540) 2025-03-26 14:27:42,707| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:42,707| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:42,707| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:42,708| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:42,708| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:42,708| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:42,708| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:42,708| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_CONNECT_BY_RSA_KEY_FILE() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:47389 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:34351 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded DEBUG sshtunnel:sshtunnel.py:1308 Private key file (/builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/tests/testrsa.key, ) successfully loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:47389 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1399 Trying to log in with key: b'60733844cb5186657fdedaa22b5a57d5' DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_CONNECT_BY_RSA_KEY_FILE() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 41540) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _______________ SSHClientTest.test_connect_by_username_password ________________ self = def test_connect_by_username_password(self): """ Test connecting using username/password as authentication """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), logger=self.log, ): tests/test_forwarder.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:42,879| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:42,879| INF | MainThrea/0222@test_forw | setUp for: TEST_CONNECT_BY_USERNAME_PASSWORD() 2025-03-26 14:27:42,880| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:48127 2025-03-26 14:27:42,880| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:44221 2025-03-26 14:27:42,880| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:42,881| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:42,881| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:42,881| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:42,881| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:48127 as user 'y67PHiSilPjf' 2025-03-26 14:27:42,881| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:42,881| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:42,882| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:42,907| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:42,907| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:42,910| ERR | Thread-18/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:42,911| ERR | Thread-18/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:42,911| ERR | Thread-18/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:42,911| ERR | Thread-18/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:42,911| ERR | Thread-18/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:42,911| ERR | Thread-18/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:42,911| ERR | Thread-18/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | ) 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | sig = self.key.sign( 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | data, 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | ...<3 lines>... 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | ) 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:42,912| ERR | Thread-18/1942@transport | 2025-03-26 14:27:42,912| INF | MainThrea/0238@test_forw | tearDown for: TEST_CONNECT_BY_USERNAME_PASSWORD() 2025-03-26 14:27:42,913| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:42,913| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:42,913| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:42,913| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:42,913| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:43,912| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:43,913| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:43,913| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 54312) 2025-03-26 14:27:43,913| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:43,914| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:43,914| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:43,914| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:43,914| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:43,914| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:43,914| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:43,914| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_CONNECT_BY_USERNAME_PASSWORD() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:48127 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:44221 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:48127 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_CONNECT_BY_USERNAME_PASSWORD() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 54312) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ________________________ SSHClientTest.test_echo_server ________________________ self = def test_echo_server(self): > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), logger=self.log, ) as server: tests/test_forwarder.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:44,095| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:44,095| INF | MainThrea/0222@test_forw | setUp for: TEST_ECHO_SERVER() 2025-03-26 14:27:44,095| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:42509 2025-03-26 14:27:44,095| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:59199 2025-03-26 14:27:44,096| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:44,096| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:44,096| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:44,096| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:44,097| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:42509 as user 'y67PHiSilPjf' 2025-03-26 14:27:44,097| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:44,097| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:44,097| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:44,122| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:44,123| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:44,165| ERR | Thread-22/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:44,166| ERR | Thread-22/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:44,166| ERR | Thread-22/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:44,166| ERR | Thread-22/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:44,166| ERR | Thread-22/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:44,166| ERR | Thread-22/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:44,166| ERR | Thread-22/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:44,166| ERR | Thread-22/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | ) 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | sig = self.key.sign( 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | data, 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | ...<3 lines>... 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | ) 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:44,167| ERR | Thread-22/1942@transport | 2025-03-26 14:27:44,167| INF | MainThrea/0238@test_forw | tearDown for: TEST_ECHO_SERVER() 2025-03-26 14:27:44,168| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:44,168| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:44,168| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:44,168| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:44,168| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:45,168| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:45,168| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:45,168| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 34076) 2025-03-26 14:27:45,169| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:45,169| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:45,169| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:45,169| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:45,169| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:45,170| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:45,170| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:45,170| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_ECHO_SERVER() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:42509 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:59199 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:42509 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_ECHO_SERVER() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 34076) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _________________________ SSHClientTest.test_get_keys __________________________ self = def test_get_keys(self): """ Test loading keys from the paramiko Agent """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), local_bind_address=('', self.randomize_eport()), logger=self.log ) as server: tests/test_forwarder.py:1152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:45,358| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:45,358| INF | MainThrea/0222@test_forw | setUp for: TEST_GET_KEYS() 2025-03-26 14:27:45,358| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:33967 2025-03-26 14:27:45,359| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:35889 2025-03-26 14:27:45,359| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:45,359| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:45,359| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:45,360| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:45,360| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:33967 as user 'y67PHiSilPjf' 2025-03-26 14:27:45,360| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:45,360| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:45,360| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:45,386| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:45,386| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:45,428| ERR | Thread-26/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:45,429| ERR | Thread-26/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | ) 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | sig = self.key.sign( 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | data, 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | ...<3 lines>... 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | ) 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:45,430| ERR | Thread-26/1942@transport | 2025-03-26 14:27:45,430| INF | MainThrea/0238@test_forw | tearDown for: TEST_GET_KEYS() 2025-03-26 14:27:45,430| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:45,431| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:45,431| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:45,431| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:45,431| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:46,430| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:46,431| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:46,431| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 59732) 2025-03-26 14:27:46,431| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:46,432| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:46,432| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:46,432| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:46,432| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:46,432| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:46,433| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:46,433| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_GET_KEYS() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:33967 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:35889 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:33967 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_GET_KEYS() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 59732) INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ____________________ SSHClientTest.test_local_bind_address _____________________ self = def test_local_bind_address(self): """ Test local_bind_address property """ s = socket.socket() s.bind(('localhost', 0)) addr, port = s.getsockname() s.close() > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, local_bind_address=(addr, port), remote_bind_address=(self.eaddr, self.eport), logger=self.log, ) as server: tests/test_forwarder.py:897: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:46,608| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:46,608| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCAL_BIND_ADDRESS() 2025-03-26 14:27:46,609| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:46341 2025-03-26 14:27:46,609| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:44723 2025-03-26 14:27:46,609| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:46,610| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:46,610| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:46,610| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:46,610| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:46341 as user 'y67PHiSilPjf' 2025-03-26 14:27:46,610| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:46,610| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:46,611| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:46,636| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:46,637| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:46,679| ERR | Thread-30/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:46,680| ERR | Thread-30/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:46,680| ERR | Thread-30/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:46,680| ERR | Thread-30/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:46,680| ERR | Thread-30/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:46,680| ERR | Thread-30/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | ) 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | sig = self.key.sign( 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | data, 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | ...<3 lines>... 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | ) 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:46,681| ERR | Thread-30/1942@transport | 2025-03-26 14:27:46,682| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCAL_BIND_ADDRESS() 2025-03-26 14:27:46,682| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:46,682| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:46,682| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:46,682| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:46,682| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:47,682| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:47,682| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:47,682| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 49050) 2025-03-26 14:27:47,683| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:47,683| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:47,683| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:47,683| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:47,683| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:47,683| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:47,684| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:47,684| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCAL_BIND_ADDRESS() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:46341 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:44723 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:46341 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCAL_BIND_ADDRESS() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 49050) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ___________________ SSHClientTest.test_local_bind_addresses ____________________ self = def test_local_bind_addresses(self): """ Test local_bind_addresses property """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, local_bind_addresses=[(self.saddr, 0)] * 2, remote_bind_addresses=[(self.eaddr, self.eport), (self.saddr, self.sport)], logger=self.log, ) as server: tests/test_forwarder.py:951: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:47,879| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:47,879| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCAL_BIND_ADDRESSES() 2025-03-26 14:27:47,880| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:36475 2025-03-26 14:27:47,880| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:53223 2025-03-26 14:27:47,880| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:47,881| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:47,881| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:47,881| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:47,881| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:36475 as user 'y67PHiSilPjf' 2025-03-26 14:27:47,881| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:47,881| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:47,882| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:47,907| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:47,907| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:47,909| ERR | Thread-34/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | ) 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | sig = self.key.sign( 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | data, 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | ...<3 lines>... 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | ) 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:47,911| ERR | Thread-34/1942@transport | 2025-03-26 14:27:47,912| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCAL_BIND_ADDRESSES() 2025-03-26 14:27:47,912| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:47,912| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:47,912| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:47,912| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:47,912| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:48,912| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:48,912| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:48,913| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 35380) 2025-03-26 14:27:48,913| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:48,913| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:48,913| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:48,913| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:48,914| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:48,914| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:48,914| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:48,914| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCAL_BIND_ADDRESSES() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:36475 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:53223 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:36475 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCAL_BIND_ADDRESSES() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 35380) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ______________________ SSHClientTest.test_local_bind_host ______________________ self = def test_local_bind_host(self): """ Test local_bind_host property """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, local_bind_address=(self.saddr, 0), remote_bind_address=(self.eaddr, self.eport), logger=self.log, ) as server: tests/test_forwarder.py:880: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:49,089| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:49,089| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCAL_BIND_HOST() 2025-03-26 14:27:49,089| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:52347 2025-03-26 14:27:49,090| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:46215 2025-03-26 14:27:49,090| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:49,090| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:49,090| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:49,091| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:49,091| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:52347 as user 'y67PHiSilPjf' 2025-03-26 14:27:49,091| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:49,091| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:49,091| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:49,117| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:49,117| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:49,119| ERR | Thread-38/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | ) 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | sig = self.key.sign( 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | data, 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | ...<3 lines>... 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | ) 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:49,121| ERR | Thread-38/1942@transport | 2025-03-26 14:27:49,122| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCAL_BIND_HOST() 2025-03-26 14:27:49,122| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:49,122| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:49,122| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:49,122| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:49,122| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:50,122| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:50,122| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:50,123| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 41602) 2025-03-26 14:27:50,123| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:50,123| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:50,123| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:50,124| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:50,124| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:50,124| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:50,124| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:50,124| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCAL_BIND_HOST() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:52347 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:46215 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:52347 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCAL_BIND_HOST() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 41602) INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _____________________ SSHClientTest.test_local_bind_hosts ______________________ self = def test_local_bind_hosts(self): """ Test local_bind_hosts property """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, local_bind_addresses=[(self.saddr, 0)] * 2, remote_bind_addresses=[(self.eaddr, self.eport), (self.saddr, self.sport)], logger=self.log, ) as server: tests/test_forwarder.py:934: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:50,296| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:50,296| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCAL_BIND_HOSTS() 2025-03-26 14:27:50,296| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:40911 2025-03-26 14:27:50,296| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:53377 2025-03-26 14:27:50,296| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:50,297| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:50,297| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:50,297| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:50,297| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:40911 as user 'y67PHiSilPjf' 2025-03-26 14:27:50,297| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:50,297| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:50,298| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:50,323| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:50,324| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:50,366| ERR | Thread-42/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:50,367| ERR | Thread-42/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:50,367| ERR | Thread-42/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:50,367| ERR | Thread-42/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:50,367| ERR | Thread-42/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:50,367| ERR | Thread-42/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | ) 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | sig = self.key.sign( 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | data, 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | ...<3 lines>... 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | ) 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:50,368| ERR | Thread-42/1942@transport | 2025-03-26 14:27:50,368| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCAL_BIND_HOSTS() 2025-03-26 14:27:50,369| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:50,369| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:50,369| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:50,369| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:50,369| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:51,368| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:51,369| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:51,369| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 59522) 2025-03-26 14:27:51,369| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:51,369| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:51,370| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:51,370| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:51,370| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:51,370| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:51,370| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:51,370| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCAL_BIND_HOSTS() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:40911 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:53377 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:40911 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCAL_BIND_HOSTS() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 59522) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ______________________ SSHClientTest.test_local_bind_port ______________________ self = def test_local_bind_port(self): """ Test local_bind_port property """ s = socket.socket() s.bind(('localhost', 0)) addr, port = s.getsockname() s.close() > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, local_bind_address=(addr, port), remote_bind_address=(self.eaddr, self.eport), logger=self.log, ) as server: tests/test_forwarder.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:51,548| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:51,548| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCAL_BIND_PORT() 2025-03-26 14:27:51,548| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:49165 2025-03-26 14:27:51,549| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:45509 2025-03-26 14:27:51,549| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:51,549| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:51,550| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:51,550| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:51,550| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:49165 as user 'y67PHiSilPjf' 2025-03-26 14:27:51,550| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:51,550| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:51,550| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:51,576| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:51,576| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:51,618| ERR | Thread-46/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | ) 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | sig = self.key.sign( 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | data, 2025-03-26 14:27:51,619| ERR | Thread-46/1942@transport | ...<3 lines>... 2025-03-26 14:27:51,620| ERR | Thread-46/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:51,620| ERR | Thread-46/1942@transport | ) 2025-03-26 14:27:51,620| ERR | Thread-46/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:51,620| ERR | Thread-46/1942@transport | 2025-03-26 14:27:51,620| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCAL_BIND_PORT() 2025-03-26 14:27:51,620| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:51,620| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:51,621| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:51,621| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:51,621| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:52,620| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:52,621| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:52,621| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 50742) 2025-03-26 14:27:52,621| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:52,621| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:52,621| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:52,622| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:52,622| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:52,622| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:52,622| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:52,622| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCAL_BIND_PORT() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:49165 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:45509 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:49165 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCAL_BIND_PORT() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 50742) INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _____________________ SSHClientTest.test_local_bind_ports ______________________ self = def test_local_bind_ports(self): """ Test local_bind_ports property """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_addresses=[(self.eaddr, self.eport), (self.saddr, self.sport)], logger=self.log, ) as server: tests/test_forwarder.py:910: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:52,796| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:52,796| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCAL_BIND_PORTS() 2025-03-26 14:27:52,796| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:48795 2025-03-26 14:27:52,796| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:35115 2025-03-26 14:27:52,796| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:52,797| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:52,797| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:52,797| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:52,797| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:48795 as user 'y67PHiSilPjf' 2025-03-26 14:27:52,797| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:52,797| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:52,798| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:52,823| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:52,824| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:52,866| ERR | Thread-50/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:52,867| ERR | Thread-50/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:52,867| ERR | Thread-50/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:52,867| ERR | Thread-50/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:52,867| ERR | Thread-50/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:52,867| ERR | Thread-50/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:52,867| ERR | Thread-50/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | ) 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | sig = self.key.sign( 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | data, 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | ...<3 lines>... 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | ) 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:52,868| ERR | Thread-50/1942@transport | 2025-03-26 14:27:52,869| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCAL_BIND_PORTS() 2025-03-26 14:27:52,869| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:52,869| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:52,869| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:52,869| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:52,869| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:53,868| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:53,869| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:53,869| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 33144) 2025-03-26 14:27:53,869| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:53,870| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:53,870| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:53,870| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:53,870| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:53,870| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:53,870| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:53,870| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCAL_BIND_PORTS() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:48795 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:35115 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:48795 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCAL_BIND_PORTS() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 33144) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _____________ SSHClientTest.test_localbindaddress_host_is_optional _____________ self = def test_localbindaddress_host_is_optional(self): """ Test that the host part of the local_bind_address tuple may be omitted and instead all the local interfaces (0.0.0.0) will be listening """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), local_bind_address=('', self.randomize_eport()) ) as server: tests/test_forwarder.py:592: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:54,065| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:54,065| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCALBINDADDRESS_HOST_IS_OPTIONAL() 2025-03-26 14:27:54,066| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:37411 2025-03-26 14:27:54,066| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:56389 2025-03-26 14:27:54,066| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:54,066| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:54,067| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:54,067| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:54,067| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:54,067| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:54,067| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:37411 as user 'y67PHiSilPjf' 2025-03-26 14:27:54,067| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:37411 as user 'y67PHiSilPjf' 2025-03-26 14:27:54,067| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:54,067| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:54,067| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:54,067| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:54,068| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:54,068| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:54,093| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:54,094| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:54,136| ERR | Thread-54/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:54,137| ERR | Thread-54/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | ) 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | sig = self.key.sign( 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | data, 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | ...<3 lines>... 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | ) 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:54,138| ERR | Thread-54/1942@transport | 2025-03-26 14:27:54,138| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCALBINDADDRESS_HOST_IS_OPTIONAL() 2025-03-26 14:27:54,139| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:54,139| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:54,139| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:54,139| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:54,139| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:55,139| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:55,139| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:55,140| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 55028) 2025-03-26 14:27:55,140| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:55,140| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:55,140| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:55,140| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:55,141| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:55,141| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:55,141| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:55,141| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCALBINDADDRESS_HOST_IS_OPTIONAL() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:37411 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:56389 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:37411 as user 'y67PHiSilPjf' DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCALBINDADDRESS_HOST_IS_OPTIONAL() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 55028) INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _____________ SSHClientTest.test_localbindaddress_port_is_optional _____________ self = def test_localbindaddress_port_is_optional(self): """ Test that the port part of the local_bind_address tuple may be omitted and instead a random port will be chosen """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), local_bind_address=('127.0.0.1', ) ) as server: tests/test_forwarder.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:55,321| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:55,321| INF | MainThrea/0222@test_forw | setUp for: TEST_LOCALBINDADDRESS_PORT_IS_OPTIONAL() 2025-03-26 14:27:55,321| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:33227 2025-03-26 14:27:55,321| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:53011 2025-03-26 14:27:55,322| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:55,322| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:55,322| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:55,322| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:55,322| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:55,322| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:55,322| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:33227 as user 'y67PHiSilPjf' 2025-03-26 14:27:55,322| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:33227 as user 'y67PHiSilPjf' 2025-03-26 14:27:55,323| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:55,323| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:55,323| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:55,323| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:55,323| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:55,323| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:55,349| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:55,349| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:55,391| ERR | Thread-58/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:55,392| ERR | Thread-58/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:55,392| ERR | Thread-58/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:55,392| ERR | Thread-58/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:55,392| ERR | Thread-58/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | ) 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | sig = self.key.sign( 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | data, 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | ...<3 lines>... 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | ) 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:55,393| ERR | Thread-58/1942@transport | 2025-03-26 14:27:55,394| INF | MainThrea/0238@test_forw | tearDown for: TEST_LOCALBINDADDRESS_PORT_IS_OPTIONAL() 2025-03-26 14:27:55,394| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:55,394| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:55,394| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:55,394| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:55,394| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:56,394| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:56,394| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:56,395| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 35224) 2025-03-26 14:27:56,395| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:56,395| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:56,395| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:56,395| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:56,395| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:56,396| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:56,396| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:56,396| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_LOCALBINDADDRESS_PORT_IS_OPTIONAL() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:33227 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:53011 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:33227 as user 'y67PHiSilPjf' DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_LOCALBINDADDRESS_PORT_IS_OPTIONAL() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 35224) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _________ SSHClientTest.test_make_ssh_forward_server_sets_daemon_false _________ self = def test_make_ssh_forward_server_sets_daemon_false(self): """ Test `make_ssh_forward_server` respects `daemon_forward_servers=False` """ > self.check_make_ssh_forward_server_sets_daemon(False) tests/test_forwarder.py:1148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_forwarder.py:1132: in check_make_ssh_forward_server_sets_daemon tunnel.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:56,606| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:56,606| INF | MainThrea/0222@test_forw | setUp for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_FALSE() 2025-03-26 14:27:56,607| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:49751 2025-03-26 14:27:56,607| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:58409 2025-03-26 14:27:56,607| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:56,607| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:56,608| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:56,608| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:56,608| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:49751 as user 'y67PHiSilPjf' 2025-03-26 14:27:56,608| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:56,608| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:56,609| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:56,634| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:56,634| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:56,676| ERR | Thread-62/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:56,677| ERR | Thread-62/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:56,677| ERR | Thread-62/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:56,677| ERR | Thread-62/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:56,677| ERR | Thread-62/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:56,677| ERR | Thread-62/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:56,677| ERR | Thread-62/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:56,677| ERR | Thread-62/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | ) 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | sig = self.key.sign( 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | data, 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | ...<3 lines>... 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | ) 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:56,678| ERR | Thread-62/1942@transport | 2025-03-26 14:27:56,678| INF | MainThrea/1373@sshtunnel | Closing all open connections... 2025-03-26 14:27:56,678| DEB | MainThrea/1377@sshtunnel | Listening tunnels: None 2025-03-26 14:27:56,678| WAR | MainThrea/1449@sshtunnel | Server is not started. Please .start() first! 2025-03-26 14:27:56,679| DEB | MainThrea/1476@sshtunnel | Transport is closed 2025-03-26 14:27:56,679| INF | MainThrea/0238@test_forw | tearDown for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_FALSE() 2025-03-26 14:27:56,679| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:56,679| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:56,679| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:56,679| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:56,679| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:57,678| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:57,679| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:57,679| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 51584) 2025-03-26 14:27:57,679| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:57,679| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:57,680| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:57,680| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:57,680| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:57,680| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:57,680| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:57,680| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_FALSE() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:49751 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:58409 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:49751 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:sshtunnel.py:1373 Closing all open connections... DEBUG sshtunnel:sshtunnel.py:1377 Listening tunnels: None WARNING sshtunnel:sshtunnel.py:1449 Server is not started. Please .start() first! DEBUG sshtunnel:sshtunnel.py:1476 Transport is closed INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_FALSE() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 51584) INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _________ SSHClientTest.test_make_ssh_forward_server_sets_daemon_true __________ self = def test_make_ssh_forward_server_sets_daemon_true(self): """ Test `make_ssh_forward_server` respects `daemon_forward_servers=True` """ > self.check_make_ssh_forward_server_sets_daemon(True) tests/test_forwarder.py:1142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_forwarder.py:1132: in check_make_ssh_forward_server_sets_daemon tunnel.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:57,844| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:57,844| INF | MainThrea/0222@test_forw | setUp for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_TRUE() 2025-03-26 14:27:57,844| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:49091 2025-03-26 14:27:57,845| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:37387 2025-03-26 14:27:57,845| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:57,845| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:57,845| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:57,846| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:57,846| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:49091 as user 'y67PHiSilPjf' 2025-03-26 14:27:57,846| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:57,846| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:57,846| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:57,872| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:57,872| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:57,874| ERR | Thread-66/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:57,875| ERR | Thread-66/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:57,875| ERR | Thread-66/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:57,875| ERR | Thread-66/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:57,875| ERR | Thread-66/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:57,875| ERR | Thread-66/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:57,875| ERR | Thread-66/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:57,875| ERR | Thread-66/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | ) 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | sig = self.key.sign( 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | data, 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | ...<3 lines>... 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | ) 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:57,876| ERR | Thread-66/1942@transport | 2025-03-26 14:27:57,876| INF | MainThrea/1373@sshtunnel | Closing all open connections... 2025-03-26 14:27:57,876| DEB | MainThrea/1377@sshtunnel | Listening tunnels: None 2025-03-26 14:27:57,876| WAR | MainThrea/1449@sshtunnel | Server is not started. Please .start() first! 2025-03-26 14:27:57,876| DEB | MainThrea/1476@sshtunnel | Transport is closed 2025-03-26 14:27:57,877| INF | MainThrea/0238@test_forw | tearDown for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_TRUE() 2025-03-26 14:27:57,877| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:57,877| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:57,877| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:57,877| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:57,877| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:27:58,876| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:27:58,877| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:27:58,877| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 47578) 2025-03-26 14:27:58,877| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:27:58,877| DEB | echo-serv/0262@test_forw | echo-server waiting for forward-server to end... 2025-03-26 14:27:58,877| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:27:58,878| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:27:58,878| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:27:58,878| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:27:58,878| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:27:58,878| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:27:58,878| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_TRUE() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:49091 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:37387 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:49091 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:sshtunnel.py:1373 Closing all open connections... DEBUG sshtunnel:sshtunnel.py:1377 Listening tunnels: None WARNING sshtunnel:sshtunnel.py:1449 Server is not started. Please .start() first! DEBUG sshtunnel:sshtunnel.py:1476 Transport is closed INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_MAKE_SSH_FORWARD_SERVER_SETS_DAEMON_TRUE() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 47578) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal DEBUG sshtunnel:test_forwarder.py:262 echo-server waiting for forward-server to end... INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ______________ SSHClientTest.test_missing_pkey_file_logs_warning _______________ self = @unittest.skipIf(sys.version_info < (2, 7), reason="Cannot intercept logging messages in py26") def test_missing_pkey_file_logs_warning(self): """ Test that when the private key file is missing, a warning is logged """ bad_pkey = 'this_file_does_not_exist' > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, ssh_pkey=bad_pkey, remote_bind_address=(self.eaddr, self.eport), logger=self.log, ): tests/test_forwarder.py:820: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:27:59,040| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:27:59,040| INF | MainThrea/0222@test_forw | setUp for: TEST_MISSING_PKEY_FILE_LOGS_WARNING() 2025-03-26 14:27:59,040| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:37471 2025-03-26 14:27:59,040| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:37375 2025-03-26 14:27:59,041| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:27:59,041| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:27:59,041| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:27:59,041| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:27:59,042| WAR | MainThrea/1162@sshtunnel | Private key file not found: this_file_does_not_exist 2025-03-26 14:27:59,042| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:37471 as user 'y67PHiSilPjf' 2025-03-26 14:27:59,042| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:27:59,042| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:27:59,042| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:27:59,067| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:27:59,068| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:27:59,110| ERR | Thread-70/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | Traceback (most recent call last): 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:27:59,111| ERR | Thread-70/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | H, self.transport.host_key_type 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | ) 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | sig = self.key.sign( 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | data, 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | ...<3 lines>... 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | ) 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:27:59,112| ERR | Thread-70/1942@transport | 2025-03-26 14:27:59,112| INF | MainThrea/0238@test_forw | tearDown for: TEST_MISSING_PKEY_FILE_LOGS_WARNING() 2025-03-26 14:27:59,113| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:27:59,113| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:27:59,113| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:27:59,113| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:27:59,113| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:28:00,112| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:28:00,113| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:28:00,113| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:28:00,113| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 42026) 2025-03-26 14:28:00,113| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:28:00,114| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:28:00,114| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:28:00,114| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:28:00,114| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:28:00,114| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:28:00,114| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_MISSING_PKEY_FILE_LOGS_WARNING() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:37471 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:37375 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded WARNING sshtunnel:sshtunnel.py:1162 Private key file not found: this_file_does_not_exist INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:37471 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_MISSING_PKEY_FILE_LOGS_WARNING() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 42026) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ________________________ SSHClientTest.test_open_tunnel ________________________ self = def test_open_tunnel(self): """ Test wrapper method mainly used from CLI """ server = sshtunnel.open_tunnel( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), logger=self.log, ssh_config_file=None, allow_agent=False, host_pkey_directories=[], ) self.assertEqual(server.ssh_host, self.saddr) self.assertEqual(server.ssh_port, self.sport) self.assertEqual(server.ssh_username, SSH_USERNAME) self.assertEqual(server.ssh_password, SSH_PASSWORD) self.assertEqual(server.logger, self.log) self.start_echo_and_ssh_server() > server.start() tests/test_forwarder.py:500: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:28:00,308| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:28:00,308| INF | MainThrea/0222@test_forw | setUp for: TEST_OPEN_TUNNEL() 2025-03-26 14:28:00,308| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:45173 2025-03-26 14:28:00,308| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:41871 2025-03-26 14:28:00,308| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:00,309| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:00,309| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:45173 as user 'y67PHiSilPjf' 2025-03-26 14:28:00,309| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:00,309| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:28:00,309| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:28:00,309| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:00,310| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:00,335| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:28:00,335| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:28:00,378| ERR | Thread-74/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:00,379| ERR | Thread-74/1942@transport | Traceback (most recent call last): 2025-03-26 14:28:00,379| ERR | Thread-74/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:28:00,379| ERR | Thread-74/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:28:00,379| ERR | Thread-74/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:28:00,379| ERR | Thread-74/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:28:00,379| ERR | Thread-74/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:28:00,379| ERR | Thread-74/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | H, self.transport.host_key_type 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | ) 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | sig = self.key.sign( 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | data, 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | ...<3 lines>... 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | ) 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:00,380| ERR | Thread-74/1942@transport | 2025-03-26 14:28:00,380| INF | MainThrea/0238@test_forw | tearDown for: TEST_OPEN_TUNNEL() 2025-03-26 14:28:00,381| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:28:00,381| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:28:00,381| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:28:00,381| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:28:00,381| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:28:01,380| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:28:01,381| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:28:01,381| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 51672) 2025-03-26 14:28:01,381| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:28:01,381| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:28:01,382| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:28:01,382| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:28:01,382| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:28:01,382| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:28:01,382| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:28:01,382| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_OPEN_TUNNEL() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:45173 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:41871 INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:45173 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_OPEN_TUNNEL() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 51672) INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _____________ SSHClientTest.test_running_start_twice_logs_warning ______________ self = @unittest.skipIf(sys.version_info < (2, 7), reason="Cannot intercept logging messages in py26") def test_running_start_twice_logs_warning(self): """Test that when running start() twice a warning is shown""" > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport) ) as server: tests/test_forwarder.py:762: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:28:01,591| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:28:01,591| INF | MainThrea/0222@test_forw | setUp for: TEST_RUNNING_START_TWICE_LOGS_WARNING() 2025-03-26 14:28:01,592| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:54399 2025-03-26 14:28:01,592| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:33563 2025-03-26 14:28:01,592| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:28:01,592| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:28:01,592| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:01,592| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:01,593| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:01,593| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:01,593| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:54399 as user 'y67PHiSilPjf' 2025-03-26 14:28:01,593| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:54399 as user 'y67PHiSilPjf' 2025-03-26 14:28:01,593| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:01,593| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:01,593| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:01,593| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:01,593| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:01,593| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:01,619| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:28:01,619| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:28:01,661| ERR | Thread-78/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:01,662| ERR | Thread-78/1942@transport | Traceback (most recent call last): 2025-03-26 14:28:01,662| ERR | Thread-78/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:28:01,662| ERR | Thread-78/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:28:01,662| ERR | Thread-78/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | H, self.transport.host_key_type 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | ) 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | sig = self.key.sign( 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | data, 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | ...<3 lines>... 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | ) 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:01,663| ERR | Thread-78/1942@transport | 2025-03-26 14:28:01,664| INF | MainThrea/0238@test_forw | tearDown for: TEST_RUNNING_START_TWICE_LOGS_WARNING() 2025-03-26 14:28:01,664| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:28:01,664| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:28:01,664| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:28:01,664| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:28:01,664| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:28:02,663| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:28:02,664| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:28:02,664| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 58252) 2025-03-26 14:28:02,665| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:28:02,665| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:28:02,665| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:28:02,665| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:28:02,666| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:28:02,666| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:28:02,666| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:28:02,666| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_RUNNING_START_TWICE_LOGS_WARNING() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:54399 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:33563 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:54399 as user 'y67PHiSilPjf' DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_RUNNING_START_TWICE_LOGS_WARNING() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 58252) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl ______________________ SSHClientTest.test_tracing_logging ______________________ self = @unittest.skipIf(sys.version_info < (2, 7), reason="Cannot intercept logging messages in py26") def test_tracing_logging(self): """ Test that Tracing mode may be enabled for more fine-grained logs """ logger = sshtunnel.create_logger(logger=self.log, loglevel='TRACE') > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), logger=logger, ) as server: tests/test_forwarder.py:1069: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:28:02,845| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:28:02,846| INF | MainThrea/0222@test_forw | setUp for: TEST_TRACING_LOGGING() 2025-03-26 14:28:02,846| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:50339 2025-03-26 14:28:02,846| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:57751 2025-03-26 14:28:02,846| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:28:02,847| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:28:02,847| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:02,847| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:02,847| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:50339 as user 'y67PHiSilPjf' 2025-03-26 14:28:02,847| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:02,847| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:02,848| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:02,873| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:28:02,873| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:28:02,915| ERR | Thread-82/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:02,916| ERR | Thread-82/1942@transport | Traceback (most recent call last): 2025-03-26 14:28:02,916| ERR | Thread-82/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:28:02,916| ERR | Thread-82/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:28:02,916| ERR | Thread-82/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:28:02,916| ERR | Thread-82/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:28:02,916| ERR | Thread-82/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | H, self.transport.host_key_type 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | ) 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | sig = self.key.sign( 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | data, 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | ...<3 lines>... 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | ) 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:02,917| ERR | Thread-82/1942@transport | 2025-03-26 14:28:02,918| INF | MainThrea/0238@test_forw | tearDown for: TEST_TRACING_LOGGING() 2025-03-26 14:28:02,918| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:28:02,918| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:28:02,918| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:28:02,918| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:28:02,918| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:28:03,917| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:28:03,918| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:28:03,918| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 42882) 2025-03-26 14:28:03,918| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:28:03,918| DEB | echo-serv/0262@test_forw | echo-server waiting for forward-server to end... 2025-03-26 14:28:03,918| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:28:03,919| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:28:03,919| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:28:03,919| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:28:03,919| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:28:03,919| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:28:03,919| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_TRACING_LOGGING() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:50339 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:57751 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:50339 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_TRACING_LOGGING() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 42882) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal DEBUG sshtunnel:test_forwarder.py:262 echo-server waiting for forward-server to end... INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl __________ SSHClientTest.test_tunnel_bindings_contain_active_tunnels ___________ self = def test_tunnel_bindings_contain_active_tunnels(self): """ Test that `tunnel_bindings` property returns only the active tunnels """ remote_ports = [self.randomize_eport(), self.randomize_eport()] local_ports = [self.randomize_eport(), self.randomize_eport()] > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_addresses=[(self.eaddr, remote_ports[0]), (self.eaddr, remote_ports[1])], local_bind_addresses=[('127.0.0.1', local_ports[0]), ('127.0.0.1', local_ports[1])], skip_tunnel_checkup=False, ) as server: tests/test_forwarder.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:28:04,145| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:28:04,145| INF | MainThrea/0222@test_forw | setUp for: TEST_TUNNEL_BINDINGS_CONTAIN_ACTIVE_TUNNELS() 2025-03-26 14:28:04,146| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:44125 2025-03-26 14:28:04,146| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:57825 2025-03-26 14:28:04,146| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:28:04,146| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:28:04,147| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:04,147| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:04,147| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:04,147| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:04,147| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:44125 as user 'y67PHiSilPjf' 2025-03-26 14:28:04,147| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:44125 as user 'y67PHiSilPjf' 2025-03-26 14:28:04,147| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:04,147| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:04,147| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:04,147| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:04,148| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:04,148| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:04,173| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:28:04,173| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:28:04,215| ERR | Thread-86/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | Traceback (most recent call last): 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:28:04,216| ERR | Thread-86/1942@transport | H, self.transport.host_key_type 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | ) 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | sig = self.key.sign( 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | data, 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | ...<3 lines>... 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | ) 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:04,217| ERR | Thread-86/1942@transport | 2025-03-26 14:28:04,217| INF | MainThrea/0238@test_forw | tearDown for: TEST_TUNNEL_BINDINGS_CONTAIN_ACTIVE_TUNNELS() 2025-03-26 14:28:04,217| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:28:04,218| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:28:04,218| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:28:04,218| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:28:04,218| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:28:05,217| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:28:05,218| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:28:05,219| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 58968) 2025-03-26 14:28:05,219| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:28:05,219| DEB | echo-serv/0262@test_forw | echo-server waiting for forward-server to end... 2025-03-26 14:28:05,219| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:28:05,219| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:28:05,220| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:28:05,220| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:28:05,220| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:28:05,220| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:28:05,220| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_TUNNEL_BINDINGS_CONTAIN_ACTIVE_TUNNELS() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:44125 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:57825 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel.SSHTunnelForwarder:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:44125 as user 'y67PHiSilPjf' DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel.SSHTunnelForwarder:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_TUNNEL_BINDINGS_CONTAIN_ACTIVE_TUNNELS() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 58968) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal DEBUG sshtunnel:test_forwarder.py:262 echo-server waiting for forward-server to end... INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _______________________ SSHClientTest.test_unix_domains ________________________ self = @unittest.skipIf(os.name != 'posix', reason="UNIX sockets not supported on this platform") def test_unix_domains(self): """ Test use of UNIX domain sockets in local binds """ > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD, remote_bind_address=(self.eaddr, self.eport), local_bind_address=TEST_UNIX_SOCKET, logger=self.log, ) as server: tests/test_forwarder.py:1051: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:28:05,392| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:28:05,392| INF | MainThrea/0222@test_forw | setUp for: TEST_UNIX_DOMAINS() 2025-03-26 14:28:05,393| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:33939 2025-03-26 14:28:05,393| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:34099 2025-03-26 14:28:05,393| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:28:05,393| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:28:05,394| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:05,394| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:05,394| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:33939 as user 'y67PHiSilPjf' 2025-03-26 14:28:05,394| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:05,394| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:05,394| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:05,420| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:28:05,420| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:28:05,422| ERR | Thread-90/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:05,423| ERR | Thread-90/1942@transport | Traceback (most recent call last): 2025-03-26 14:28:05,423| ERR | Thread-90/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:28:05,423| ERR | Thread-90/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | H, self.transport.host_key_type 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | ) 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | sig = self.key.sign( 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | data, 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | ...<3 lines>... 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | ) 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:05,424| ERR | Thread-90/1942@transport | 2025-03-26 14:28:05,425| INF | MainThrea/0238@test_forw | tearDown for: TEST_UNIX_DOMAINS() 2025-03-26 14:28:05,425| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:28:05,425| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:28:05,425| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:28:05,425| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:28:05,425| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:28:06,424| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:28:06,425| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:28:06,425| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 37888) 2025-03-26 14:28:06,425| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:28:06,426| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:28:06,426| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:28:06,426| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:28:06,426| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:28:06,427| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:28:06,427| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:28:06,427| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_UNIX_DOMAINS() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:33939 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:34099 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:33939 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_UNIX_DOMAINS() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 37888) INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl _____________ SSHClientTest.test_wrong_auth_to_gateway_logs_error ______________ self = @unittest.skipIf(sys.version_info < (2, 7), reason="Cannot intercept logging messages in py26") def test_wrong_auth_to_gateway_logs_error(self): """ Test that when connecting to the ssh gateway with wrong credentials, an error is logged """ with self.assertRaises(sshtunnel.BaseSSHTunnelForwarderError): > with self._test_server( (self.saddr, self.sport), ssh_username=SSH_USERNAME, ssh_password=SSH_PASSWORD[::-1], remote_bind_address=(self.eaddr, self.randomize_eport()), logger=self.log, ): tests/test_forwarder.py:802: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/contextlib.py:141: in __enter__ return next(self.gen) tests/test_forwarder.py:294: in _test_server server.start() sshtunnel.py:1328: in start self._create_tunnels() sshtunnel.py:1213: in _create_tunnels self._connect_to_gateway() sshtunnel.py:1417: in _connect_to_gateway self._transport.connect(hostkey=self.ssh_host_key, /usr/lib/python3.13/site-packages/paramiko/transport.py:1420: in connect self.start_client() /usr/lib/python3.13/site-packages/paramiko/transport.py:773: in start_client raise e /usr/lib/python3.13/site-packages/paramiko/transport.py:2201: in run ptype, m = self.packetizer.read_message() /usr/lib/python3.13/site-packages/paramiko/packet.py:496: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError /usr/lib/python3.13/site-packages/paramiko/packet.py:324: EOFError ----------------------------- Captured stderr call ----------------------------- 2025-03-26 14:28:06,628| DEB | MainThrea/0221@test_forw | ******************************************************************************** 2025-03-26 14:28:06,628| INF | MainThrea/0222@test_forw | setUp for: TEST_WRONG_AUTH_TO_GATEWAY_LOGS_ERROR() 2025-03-26 14:28:06,628| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:58697 2025-03-26 14:28:06,628| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:51809 2025-03-26 14:28:06,628| INF | echo-serv/0336@test_forw | echo-server Started 2025-03-26 14:28:06,629| INF | ssh-serve/0308@test_forw | ssh-server Start 2025-03-26 14:28:06,629| INF | MainThrea/1037@sshtunnel | Skipping loading of ssh configuration file 2025-03-26 14:28:06,629| INF | MainThrea/1116@sshtunnel | 0 key(s) loaded 2025-03-26 14:28:06,629| INF | MainThrea/0977@sshtunnel | Connecting to gateway: 127.0.0.1:58697 as user 'y67PHiSilPjf' 2025-03-26 14:28:06,629| DEB | MainThrea/0982@sshtunnel | Concurrent connections allowed: True 2025-03-26 14:28:06,629| DEB | MainThrea/1413@sshtunnel | Trying to log in with password: ************ 2025-03-26 14:28:06,630| DEB | MainThrea/1203@sshtunnel | Transport socket info: (, , 0), timeout=1.0 2025-03-26 14:28:06,655| DEB | forward-s/0384@test_forw | forward-server Start 2025-03-26 14:28:06,655| DEB | ssh-serve/0262@test_forw | ssh-server waiting for forward-server to end... 2025-03-26 14:28:06,658| ERR | Thread-94/1944@transport | Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | Traceback (most recent call last): 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | self.kex_engine.parse_next(ptype, m) 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | return self._parse_kexecdh_init(m) 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | ~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | sig = self.transport.get_server_key().sign_ssh_data( 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | H, self.transport.host_key_type 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | ) 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | sig = self.key.sign( 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | data, 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | ...<3 lines>... 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | algorithm=self.HASHES[algorithm](), 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | ) 2025-03-26 14:28:06,659| ERR | Thread-94/1942@transport | ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt 2025-03-26 14:28:06,660| ERR | Thread-94/1942@transport | 2025-03-26 14:28:06,660| INF | MainThrea/0238@test_forw | tearDown for: TEST_WRONG_AUTH_TO_GATEWAY_LOGS_ERROR() 2025-03-26 14:28:06,660| INF | MainThrea/0278@test_forw | Sending STOP signal 2025-03-26 14:28:06,660| INF | MainThrea/0243@test_forw | thread echo-server (alive) 2025-03-26 14:28:06,660| INF | MainThrea/0243@test_forw | thread ssh-server (alive) 2025-03-26 14:28:06,661| INF | MainThrea/0243@test_forw | thread forward-server (alive) 2025-03-26 14:28:06,661| DEB | MainThrea/0262@test_forw | tearDown waiting for echo-server to end... 2025-03-26 14:28:07,660| INF | forward-s/0389@test_forw | forward-server schan <> echo accept() 2025-03-26 14:28:07,661| INF | forward-s/0410@test_forw | <<< forward-server received STOP signal 2025-03-26 14:28:07,661| INF | echo-serv/0350@test_forw | echo-server accept() ('127.0.0.1', 59082) 2025-03-26 14:28:07,661| INF | echo-serv/0369@test_forw | <<< echo-server received STOP signal 2025-03-26 14:28:07,661| INF | ssh-serve/0332@test_forw | ssh-server shutting down 2025-03-26 14:28:07,662| INF | echo-serv/0380@test_forw | echo-server shutting down 2025-03-26 14:28:07,662| INF | MainThrea/0253@test_forw | thread echo-server now stopped 2025-03-26 14:28:07,662| INF | MainThrea/0257@test_forw | tearDown() ts 2025-03-26 14:28:07,662| INF | MainThrea/0257@test_forw | tearDown() socks 2025-03-26 14:28:07,662| INF | MainThrea/0257@test_forw | tearDown() ssockl 2025-03-26 14:28:07,662| INF | MainThrea/0257@test_forw | tearDown() esockl ------------------------------ Captured log call ------------------------------- DEBUG sshtunnel:test_forwarder.py:221 ******************************************************************************** INFO sshtunnel:test_forwarder.py:222 setUp for: TEST_WRONG_AUTH_TO_GATEWAY_LOGS_ERROR() INFO sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:58697 INFO sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:51809 INFO sshtunnel:test_forwarder.py:336 echo-server Started INFO sshtunnel:test_forwarder.py:308 ssh-server Start INFO sshtunnel:sshtunnel.py:1037 Skipping loading of ssh configuration file INFO sshtunnel:sshtunnel.py:1116 0 key(s) loaded INFO sshtunnel:sshtunnel.py:977 Connecting to gateway: 127.0.0.1:58697 as user 'y67PHiSilPjf' DEBUG sshtunnel:sshtunnel.py:982 Concurrent connections allowed: True DEBUG sshtunnel:sshtunnel.py:1413 Trying to log in with password: ************ DEBUG sshtunnel:sshtunnel.py:1203 Transport socket info: (, , 0), timeout=1.0 DEBUG sshtunnel:test_forwarder.py:384 forward-server Start DEBUG sshtunnel:test_forwarder.py:262 ssh-server waiting for forward-server to end... ERROR paramiko.transport:transport.py:1944 Unknown exception: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/transport.py", line 2228, in run ERROR paramiko.transport:transport.py:1942 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1942 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1942 ~~~~~~~~~~~~~~~~~~~~~~~~^^^ ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1942 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1942 H, self.transport.host_key_type ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 File "/usr/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data ERROR paramiko.transport:transport.py:1942 sig = self.key.sign( ERROR paramiko.transport:transport.py:1942 data, ERROR paramiko.transport:transport.py:1942 ...<3 lines>... ERROR paramiko.transport:transport.py:1942 algorithm=self.HASHES[algorithm](), ERROR paramiko.transport:transport.py:1942 ) ERROR paramiko.transport:transport.py:1942 ValueError: Digest or salt length too long for key size. Use a larger key or shorter salt length if you are specifying a PSS salt ERROR paramiko.transport:transport.py:1942 INFO sshtunnel:test_forwarder.py:238 tearDown for: TEST_WRONG_AUTH_TO_GATEWAY_LOGS_ERROR() INFO sshtunnel:test_forwarder.py:278 Sending STOP signal INFO sshtunnel:test_forwarder.py:243 thread echo-server (alive) INFO sshtunnel:test_forwarder.py:243 thread ssh-server (alive) INFO sshtunnel:test_forwarder.py:243 thread forward-server (alive) DEBUG sshtunnel:test_forwarder.py:262 tearDown waiting for echo-server to end... INFO sshtunnel:test_forwarder.py:389 forward-server schan <> echo accept() INFO sshtunnel:test_forwarder.py:410 <<< forward-server received STOP signal INFO sshtunnel:test_forwarder.py:350 echo-server accept() ('127.0.0.1', 59082) INFO sshtunnel:test_forwarder.py:369 <<< echo-server received STOP signal INFO sshtunnel:test_forwarder.py:332 ssh-server shutting down INFO sshtunnel:test_forwarder.py:380 echo-server shutting down INFO sshtunnel:test_forwarder.py:253 thread echo-server now stopped INFO sshtunnel:test_forwarder.py:257 tearDown() ts INFO sshtunnel:test_forwarder.py:257 tearDown() socks INFO sshtunnel:test_forwarder.py:257 tearDown() ssockl INFO sshtunnel:test_forwarder.py:257 tearDown() esockl =============================== warnings summary =============================== tests/test_forwarder.py::SSHClientTest::test_cli_main_exits_when_pressing_enter tests/test_forwarder.py::SSHClientTest::test_sshaddress_and_sshaddressorhost_mutually_exclusive tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/sshtunnel.py:1265: DeprecationWarning: 'ssh_address' is DEPRECATED use 'ssh_address_or_host' instead warnings.warn("'{0}' is DEPRECATED use '{1}' instead" tests/test_forwarder.py::SSHClientTest::test_sshhost_and_sshaddressorhost_mutually_exclusive tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/sshtunnel.py:1265: DeprecationWarning: 'ssh_host' is DEPRECATED use 'ssh_address_or_host' instead warnings.warn("'{0}' is DEPRECATED use '{1}' instead" tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations tests/test_forwarder.py::AuxiliaryTest::test_str /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/sshtunnel.py:1265: DeprecationWarning: 'ssh_private_key' is DEPRECATED use 'ssh_pkey' instead warnings.warn("'{0}' is DEPRECATED use '{1}' instead" tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations /builddir/build/BUILD/python-sshtunnel-0.4.0-build/sshtunnel-0.4.0/sshtunnel.py:1265: DeprecationWarning: 'raise_exception_if_any_forwarder_have_a_problem' is DEPRECATED use 'mute_exceptions' instead warnings.warn("'{0}' is DEPRECATED use '{1}' instead" -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_forwarder.py::SSHClientTest::test_check_tunnels - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_cli_main_exits_when_pressing_enter FAILED tests/test_forwarder.py::SSHClientTest::test_connect_by_paramiko_key FAILED tests/test_forwarder.py::SSHClientTest::test_connect_by_rsa_key_file FAILED tests/test_forwarder.py::SSHClientTest::test_connect_by_username_password FAILED tests/test_forwarder.py::SSHClientTest::test_echo_server - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_get_keys - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_local_bind_address - EOFE... FAILED tests/test_forwarder.py::SSHClientTest::test_local_bind_addresses - EO... FAILED tests/test_forwarder.py::SSHClientTest::test_local_bind_host - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_local_bind_hosts - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_local_bind_port - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_local_bind_ports - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_localbindaddress_host_is_optional FAILED tests/test_forwarder.py::SSHClientTest::test_localbindaddress_port_is_optional FAILED tests/test_forwarder.py::SSHClientTest::test_make_ssh_forward_server_sets_daemon_false FAILED tests/test_forwarder.py::SSHClientTest::test_make_ssh_forward_server_sets_daemon_true FAILED tests/test_forwarder.py::SSHClientTest::test_missing_pkey_file_logs_warning FAILED tests/test_forwarder.py::SSHClientTest::test_open_tunnel - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_running_start_twice_logs_warning FAILED tests/test_forwarder.py::SSHClientTest::test_tracing_logging - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_tunnel_bindings_contain_active_tunnels FAILED tests/test_forwarder.py::SSHClientTest::test_unix_domains - EOFError FAILED tests/test_forwarder.py::SSHClientTest::test_wrong_auth_to_gateway_logs_error ================= 24 failed, 27 passed, 12 warnings in 30.28s ================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.lEBZp0 (%check) Bad exit status from /var/tmp/rpm-tmp.lEBZp0 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ec06dd30e4b040779071e5021342ab5e -D /var/lib/mock/f43-build-58283916-6563936/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf --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 --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 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-sshtunnel.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ec06dd30e4b040779071e5021342ab5e -D /var/lib/mock/f43-build-58283916-6563936/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.orbimhza:/etc/resolv.conf --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 --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 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-sshtunnel.spec'