Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 902930 Details for
Bug 939601
net-misc/dropbear-2024.85-r1 fails test - [ncurses-6.5] [meson-9999] [gcc-15] E subprocess.TimeoutExpired: Command [../dbclient, -y, 127.0.5.5, -p, 2244, -t, cat .../tmp.fwyef0qReK] time
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:dropbear-2024.85-r1:20240913-182407.log
net-misc:dropbear-2024.85-r1:20240913-182407.log (text/plain), 77.17 KB, created by
Toralf Förster
on 2024-09-13 21:08:07 UTC
(
hide
)
Description:
net-misc:dropbear-2024.85-r1:20240913-182407.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-09-13 21:08:07 UTC
Size:
77.17 KB
patch
obsolete
> * Package: net-misc/dropbear-2024.85-r1:0 > * Repository: gentoo > * Maintainer: embedded@gentoo.org > * USE: abi_x86_64 amd64 bsdpty elibc_glibc kernel_linux minimal pam syslog test zlib > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > * Checking whether python3_12 is suitable ... > * dev-lang/python:3.12 ... > [ ok ] > * python_check_deps ... > * dev-python/attrs[python_targets_python3_12(-)] ... > [ ok ] > * dev-python/iniconfig[python_targets_python3_12(-)] ... > [ ok ] > * dev-python/packaging[python_targets_python3_12(-)] ... > [ ok ] > * dev-python/pluggy[python_targets_python3_12(-)] ... > [ ok ] > * dev-python/py[python_targets_python3_12(-)] ... > [ ok ] > * dev-python/pyparsing[python_targets_python3_12(-)] ... > [ ok ] > * dev-python/pytest[python_targets_python3_12(-)] ... > [ ok ] > * dev-python/psutil[python_targets_python3_12(-)] ... > [ ok ] > [ ok ] > * Using python3.12 to build (via PYTHON_COMPAT iteration) >>>> Unpacking source... >>>> Unpacking dropbear-2024.85.tar.bz2 to /var/tmp/portage/net-misc/dropbear-2024.85-r1/work >>>> Source unpacked in /var/tmp/portage/net-misc/dropbear-2024.85-r1/work >>>> Preparing source in /var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85 ... > * Applying dropbear-2024.84-dbscp.patch ... > [ ok ] > * Applying dropbear-2022.82-tests.patch ... > [ ok ] > * Applying dropbear-2024.84-non-interactive-tests.patch ... > [ ok ] > * Applying dropbear-2024.84-fix-channels-tests.patch ... > [ ok ] > * Applying dropbear-2024.84-test-bg-sleep.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85 ... > * econf: updating dropbear-2024.85/src/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating dropbear-2024.85/src/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/dropbear-2024.85-r1 --htmldir=/usr/share/doc/dropbear-2024.85-r1/html --libdir=/usr/lib64 --disable-harden --enable-lastlog --enable-wtmp --disable-bundled-libtom --enable-zlib --enable-pam --disable-openpty --disable-shadow --disable-static --enable-syslog >which: no hg in (/var/tmp/portage/net-misc/dropbear-2024.85-r1/temp/python3.12/bin:/usr/lib/portage/python3.12/ebuild-helpers/xattr:/usr/lib/portage/python3.12/ebuild-helpers:/opt/petrify:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/18/bin:/usr/lib/llvm/17/bin) >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >configure: Setting LTM_CFLAGS to -O3 -funroll-loops -fomit-frame-pointer >configure: Checking if compiler 'x86_64-pc-linux-gnu-gcc' supports -Wno-pointer-sign >configure: Setting -Wno-pointer-sign >configure: Checking if compiler 'x86_64-pc-linux-gnu-gcc' supports -fno-strict-overflow >configure: Setting -fno-strict-overflow >configure: Checking if compiler 'x86_64-pc-linux-gnu-gcc' supports -Wundef >configure: Setting -Wundef >configure: Disabling hardened build flags >checking for special C compiler options needed for large files... no >checking for _FILE_OFFSET_BITS value needed for large files... no >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/select.h... yes >checking for sys/socket.h... yes >checking whether __UCLIBC__ is declared... no >checking for crypt... no >checking for crypt in -lcrypt... yes >checking for deflate in -lz... yes >configure: Enabling zlib >checking for pam_authenticate in -lpam... yes >configure: Enabling PAM >checking for pam_fail_delay... yes >configure: Not using openpty >configure: Enabling syslog >configure: Not using shadow passwords >configure: Disabling fuzzing >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for netinet/in.h... yes >checking for netinet/tcp.h... yes >checking for crypt.h... yes >checking for pty.h... yes >checking for libutil.h... no >checking for libgen.h... yes >checking for inttypes.h... (cached) yes >checking for stropts.h... no >checking for utmp.h... yes >checking for utmpx.h... yes >checking for lastlog.h... yes >checking for paths.h... yes >checking for util.h... no >checking for netdb.h... yes >checking for security/pam_appl.h... yes >checking for pam/pam_appl.h... no >checking for netinet/in_systm.h... yes >checking for sys/uio.h... yes >checking for linux/pkt_sched.h... yes >checking for sys/random.h... yes >checking for sys/prctl.h... yes >checking for an ANSI C-conforming const... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for uid_t in sys/types.h... yes >checking for mode_t... yes >checking for pid_t... yes >checking for size_t... yes >checking for uint8_t... yes >checking for u_int8_t... yes >checking for uint16_t... yes >checking for u_int16_t... yes >checking for uint32_t... yes >checking for u_int32_t... yes >checking for struct sockaddr_storage... no >checking for socklen_t... yes >checking for struct sockaddr_storage... yes >checking for struct sockaddr_in6... yes >checking for struct in6_addr... yes >checking for struct addrinfo... yes >checking for gai_strerror... yes >checking for struct utmp.ut_host... yes >checking for struct utmp.ut_pid... yes >checking for struct utmp.ut_type... yes >checking for struct utmp.ut_tv... yes >checking for struct utmp.ut_id... yes >checking for struct utmp.ut_addr... yes >checking for struct utmp.ut_addr_v6... yes >checking for struct utmp.ut_exit... yes >checking for struct utmp.ut_time... yes >checking for struct utmpx.ut_host... yes >checking for struct utmpx.ut_syslen... no >checking for struct utmpx.ut_type... yes >checking for struct utmpx.ut_id... yes >checking for struct utmpx.ut_addr... no >checking for struct utmpx.ut_addr_v6... yes >checking for struct utmpx.ut_time... no >checking for struct utmpx.ut_tv... yes >checking for struct sockaddr_storage.ss_family... yes >checking for endutent... yes >checking for getutent... yes >checking for getutid... yes >checking for getutline... yes >checking for pututline... yes >checking for setutent... yes >checking for utmpname... yes >checking for endutxent... yes >checking for getutxent... yes >checking for getutxid... yes >checking for getutxline... yes >checking for pututxline... yes >checking for setutxent... yes >checking for utmpxname... yes >checking for logout... yes >checking for updwtmp... yes >checking for logwtmp... yes >checking for clock_gettime... yes >checking for mach/mach_time.h... no >checking for mach_absolute_time... no >checking for explicit_bzero... yes >checking for memset_s... no >checking for getrandom... yes >checking for mp_to_ubin in -ltommath... yes >checking for poly1305_init in -ltomcrypt... yes >checking for library containing login... none required >checking for logout... (cached) yes >checking for updwtmp... (cached) yes >checking for logwtmp... (cached) yes >checking if your system defines LASTLOG_FILE... no >checking if your system defines _PATH_LASTLOG... yes >checking if your system defines UTMP_FILE... yes >checking if your system defines WTMP_FILE... yes >checking if your system defines UTMPX_FILE... yes >checking if your system defines WTMPX_FILE... yes >checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no >checking for working memcmp... yes >checking types of arguments for select... int,fd_set *,struct timeval * >checking for getpass... yes >checking for getspnam... yes >checking for getusershell... yes >checking for putenv... yes >checking for clearenv... yes >checking for strlcpy... yes >checking for strlcat... yes >checking for daemon... yes >checking for basename... yes >checking for _getpty... no >checking for getaddrinfo... yes >checking for freeaddrinfo... yes >checking for getnameinfo... yes >checking for fork... yes >checking for writev... yes >checking for getgrouplist... yes >checking for fexecve... yes >checking for library containing basename... none required >configure: creating ./config.status >config.status: creating Makefile >config.status: creating test/Makefile >config.status: creating config.h >configure: >configure: Using system libtomcrypt and libtommath >configure: >configure: Now edit localoptions.h to choose features. >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85 ... >make -j4 MULTI=0 'PROGRAMS=dropbear dbclient dropbearkey' >mkdir -p obj >Creating default_options_guard.h >mv -v default_options_guard.h.tmp default_options_guard.h >renamed 'default_options_guard.h.tmp' -> 'default_options_guard.h' >pwd >/var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85 >ls -l default_options_guard.h >-rw-r--r-- 1 portage portage 17743 Sep 13 18:24 default_options_guard.h >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/dbutil.c -o obj/dbutil.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/buffer.c -o obj/buffer.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/dbhelpers.c -o obj/dbhelpers.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/dss.c -o obj/dss.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/bignum.c -o obj/bignum.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/signkey.c -o obj/signkey.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/rsa.c -o obj/rsa.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/dbrandom.c -o obj/dbrandom.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/queue.c -o obj/queue.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/atomicio.c -o obj/atomicio.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/compat.c -o obj/compat.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/fake-rfc2553.c -o obj/fake-rfc2553.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/ltc_prng.c -o obj/ltc_prng.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/ecc.c -o obj/ecc.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/ecdsa.c -o obj/ecdsa.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/sk-ecdsa.c -o obj/sk-ecdsa.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/crypto_desc.c -o obj/crypto_desc.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/curve25519.c -o obj/curve25519.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/ed25519.c -o obj/ed25519.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/sk-ed25519.c -o obj/sk-ed25519.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/dbmalloc.c -o obj/dbmalloc.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/gensignkey.c -o obj/gensignkey.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/gendss.c -o obj/gendss.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/genrsa.c -o obj/genrsa.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/gened25519.c -o obj/gened25519.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/common-session.c -o obj/common-session.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/packet.c -o obj/packet.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/common-algo.c -o obj/common-algo.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/common-kex.c -o obj/common-kex.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/common-channel.c -o obj/common-channel.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/common-chansession.c -o obj/common-chansession.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/termcodes.c -o obj/termcodes.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/loginrec.c -o obj/loginrec.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/tcp-accept.c -o obj/tcp-accept.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/listener.c -o obj/listener.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/process-packet.c -o obj/process-packet.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/dh_groups.c -o obj/dh_groups.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/common-runopts.c -o obj/common-runopts.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/circbuffer.c -o obj/circbuffer.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/list.c -o obj/list.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/netio.c -o obj/netio.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/chachapoly.c -o obj/chachapoly.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/gcm.c -o obj/gcm.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-kex.c -o obj/svr-kex.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-auth.c -o obj/svr-auth.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/sshpty.c -o obj/sshpty.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-authpasswd.c -o obj/svr-authpasswd.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-authpubkey.c -o obj/svr-authpubkey.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-authpubkeyoptions.c -o obj/svr-authpubkeyoptions.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-session.c -o obj/svr-session.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-service.c -o obj/svr-service.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-chansession.c -o obj/svr-chansession.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-runopts.c -o obj/svr-runopts.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-agentfwd.c -o obj/svr-agentfwd.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-main.c -o obj/svr-main.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-x11fwd.c -o obj/svr-x11fwd.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-tcpfwd.c -o obj/svr-tcpfwd.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/svr-authpam.c -o obj/svr-authpam.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-main.c -o obj/cli-main.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-auth.c -o obj/cli-auth.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-authpasswd.c -o obj/cli-authpasswd.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-kex.c -o obj/cli-kex.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-session.c -o obj/cli-session.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-runopts.c -o obj/cli-runopts.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-chansession.c -o obj/cli-chansession.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-authpubkey.c -o obj/cli-authpubkey.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-tcpfwd.c -o obj/cli-tcpfwd.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-channel.c -o obj/cli-channel.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-authinteract.c -o obj/cli-authinteract.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-agentfwd.c -o obj/cli-agentfwd.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/cli-readconf.c -o obj/cli-readconf.o -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wundef -fno-strict-overflow -Wno-pointer-sign -O2 -pipe -march=native -fno-diagnostics-color -DLOCALOPTIONS_H_EXISTS -I. -I./src -DDROPBEAR_SERVER -DDROPBEAR_CLIENT src/dropbearkey.c -o obj/dropbearkey.o -c >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o dropbear ./obj/dbutil.o ./obj/buffer.o ./obj/dbhelpers.o ./obj/dss.o ./obj/bignum.o ./obj/signkey.o ./obj/rsa.o ./obj/dbrandom.o ./obj/queue.o ./obj/atomicio.o ./obj/compat.o ./obj/fake-rfc2553.o ./obj/ltc_prng.o ./obj/ecc.o ./obj/ecdsa.o ./obj/sk-ecdsa.o ./obj/crypto_desc.o ./obj/curve25519.o ./obj/ed25519.o ./obj/sk-ed25519.o ./obj/dbmalloc.o ./obj/gensignkey.o ./obj/gendss.o ./obj/genrsa.o ./obj/gened25519.o ./obj/common-session.o ./obj/packet.o ./obj/common-algo.o ./obj/common-kex.o ./obj/common-channel.o ./obj/common-chansession.o ./obj/termcodes.o ./obj/loginrec.o ./obj/tcp-accept.o ./obj/listener.o ./obj/process-packet.o ./obj/dh_groups.o ./obj/common-runopts.o ./obj/circbuffer.o ./obj/list.o ./obj/netio.o ./obj/chachapoly.o ./obj/gcm.o ./obj/svr-kex.o ./obj/svr-auth.o ./obj/sshpty.o ./obj/svr-authpasswd.o ./obj/svr-authpubkey.o ./obj/svr-authpubkeyoptions.o ./obj/svr-session.o ./obj/svr-service.o ./obj/svr-chansession.o ./obj/svr-runopts.o ./obj/svr-agentfwd.o ./obj/svr-main.o ./obj/svr-x11fwd.o ./obj/svr-tcpfwd.o ./obj/svr-authpam.o -ltomcrypt -ltommath -lpam -lz -lcrypt >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o dbclient ./obj/dbutil.o ./obj/buffer.o ./obj/dbhelpers.o ./obj/dss.o ./obj/bignum.o ./obj/signkey.o ./obj/rsa.o ./obj/dbrandom.o ./obj/queue.o ./obj/atomicio.o ./obj/compat.o ./obj/fake-rfc2553.o ./obj/ltc_prng.o ./obj/ecc.o ./obj/ecdsa.o ./obj/sk-ecdsa.o ./obj/crypto_desc.o ./obj/curve25519.o ./obj/ed25519.o ./obj/sk-ed25519.o ./obj/dbmalloc.o ./obj/gensignkey.o ./obj/gendss.o ./obj/genrsa.o ./obj/gened25519.o ./obj/common-session.o ./obj/packet.o ./obj/common-algo.o ./obj/common-kex.o ./obj/common-channel.o ./obj/common-chansession.o ./obj/termcodes.o ./obj/loginrec.o ./obj/tcp-accept.o ./obj/listener.o ./obj/process-packet.o ./obj/dh_groups.o ./obj/common-runopts.o ./obj/circbuffer.o ./obj/list.o ./obj/netio.o ./obj/chachapoly.o ./obj/gcm.o ./obj/cli-main.o ./obj/cli-auth.o ./obj/cli-authpasswd.o ./obj/cli-kex.o ./obj/cli-session.o ./obj/cli-runopts.o ./obj/cli-chansession.o ./obj/cli-authpubkey.o ./obj/cli-tcpfwd.o ./obj/cli-channel.o ./obj/cli-authinteract.o ./obj/cli-agentfwd.o ./obj/cli-readconf.o -ltomcrypt -ltommath -lpam -lz >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o dropbearkey ./obj/dbutil.o ./obj/buffer.o ./obj/dbhelpers.o ./obj/dss.o ./obj/bignum.o ./obj/signkey.o ./obj/rsa.o ./obj/dbrandom.o ./obj/queue.o ./obj/atomicio.o ./obj/compat.o ./obj/fake-rfc2553.o ./obj/ltc_prng.o ./obj/ecc.o ./obj/ecdsa.o ./obj/sk-ecdsa.o ./obj/crypto_desc.o ./obj/curve25519.o ./obj/ed25519.o ./obj/sk-ed25519.o ./obj/dbmalloc.o ./obj/gensignkey.o ./obj/gendss.o ./obj/genrsa.o ./obj/gened25519.o ./obj/dropbearkey.o -ltomcrypt -ltommath -lpam -lz >>>> Source compiled. >>>> Test phase: net-misc/dropbear-2024.85-r1 >make -j4 check >cd ./src; ./dropbear_lint.sh >make -C test >make[1]: Entering directory '/var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85/test' >../dropbearkey -t ecdsa -f fakekey >Generating 256 bit ecdsa key, this may take a while... >Public key portion is: >ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDbp1kFGI86LffQXyFqX5zD5qKcT+GAmW2InG+9XGgNYIgWvgPW3oYiE4szNkozm3QRD5c4iItfwCoVFpUzrLMM= portage@localhost >Fingerprint: SHA256:C47+/MxpLvxhVD2eqrQsx8pyql/YZLDyJIJXDHntbhA >mkdir -p ~/.ssh >../dropbearkey -t ecdsa -f ~/.ssh/id_dropbear >Generating 256 bit ecdsa key, this may take a while... >Public key portion is: >ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOGEOGd3MeWGORH+T4v+XxX2kyx7i8GXCRFGCiMjrjTy3HfnEc+VXylna6jYeUIhfns2fBqrcE0S6o87EoAyq/o= portage@localhost >Fingerprint: SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k >../dropbearkey -y -f ~/.ssh/id_dropbear | grep ^ecdsa > ~/.ssh/authorized_keys >echo "portage::250:250::/var/tmp/portage/net-misc/dropbear-2024.85-r1/homedir:/bin/bash" >> ~/passwd >echo "portage::250:" >> ~/group >chmod 0700 ~ ~/.ssh ~/.ssh/authorized_keys ~/passwd ~/group >pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear . >============================= test session starts ============================== >platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 >rootdir: /var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85/test >plugins: mock-3.14.0, anyio-4.4.0, time-machine-2.15.0, describe-2.2.0, ordering-0.6, pkgcore-0.12.28, xdist-3.6.1, sphinx_pytest-0.2.0 >collected 29 items > >test_channels.py .x......FFFFFF.X....FFFFFF [ 89%] >test_svrauth.py sss [100%] > >=================================== FAILURES =================================== >_______________________________ test_read_pty[0] _______________________________ > >request = <FixtureRequest for <Function test_read_pty[0]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 0 > > @pytest.mark.parametrize("size", [0, 1, 2, 100, 20001, 41234]) > def test_read_pty(request, dropbear, size): > # testcase for > # https://bugs.openwrt.org/index.php?do=details&task_id=1814 > # https://github.com/mkj/dropbear/pull/85 > # From Yousong Zhou > # Fixed Oct 2021 > # > #$ ssh -t my.router cat /tmp/bigfile | wc > #Connection to my.router closed. > # 0 1 14335 <- should be 20001 > > # Write the file. No newlines etc which could confuse ptys > dat = random_alnum(size) > r = dbclient(request, "tmpf=`mktemp`; echo $tmpf; cat > $tmpf", input=dat, capture_output=True, text=True) > tmpf = r.stdout.rstrip() > r.check_returncode() > # Read with a pty, this is what is being tested. > # Timing/buffering is subtle, we seem to need to cat a file from disk to hit it. > m, s = pty.openpty() >> r = dbclient(request, "-t", f"cat {tmpf}; rm {tmpf}", stdin=s, capture_output=True) > >test_channels.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:66: in dbclient > return subprocess.run(full_args, **kwargs) >/usr/lib/python3.12/subprocess.py:550: in run > stdout, stderr = process.communicate(input, timeout=timeout) >/usr/lib/python3.12/subprocess.py:1209: in communicate > stdout, stderr = self._communicate(input, endtime, timeout) >/usr/lib/python3.12/subprocess.py:2116: in _communicate > self._check_timeout(endtime, orig_timeout, stdout, stderr) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Popen: returncode: -9 args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244'...> >endtime = 41027.199854537, orig_timeout = 10, stdout_seq = [], stderr_seq = [] >skip_check_and_raise = False > > def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, > skip_check_and_raise=False): > """Convenience for checking if a timeout has expired.""" > if endtime is None: > return > if skip_check_and_raise or _time() > endtime: >> raise TimeoutExpired( > self.args, orig_timeout, > output=b''.join(stdout_seq) if stdout_seq else None, > stderr=b''.join(stderr_seq) if stderr_seq else None) >E subprocess.TimeoutExpired: Command '['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.fwyef0qReK; rm /tmp/tmp.fwyef0qReK']' timed out after 10 seconds > >/usr/lib/python3.12/subprocess.py:1253: TimeoutExpired >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', 'tmpf=`mktemp`; echo $tmpf; cat > $tmpf'] >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.fwyef0qReK; rm /tmp/tmp.fwyef0qReK'] >_______________________________ test_read_pty[1] _______________________________ > >request = <FixtureRequest for <Function test_read_pty[1]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 1 > > @pytest.mark.parametrize("size", [0, 1, 2, 100, 20001, 41234]) > def test_read_pty(request, dropbear, size): > # testcase for > # https://bugs.openwrt.org/index.php?do=details&task_id=1814 > # https://github.com/mkj/dropbear/pull/85 > # From Yousong Zhou > # Fixed Oct 2021 > # > #$ ssh -t my.router cat /tmp/bigfile | wc > #Connection to my.router closed. > # 0 1 14335 <- should be 20001 > > # Write the file. No newlines etc which could confuse ptys > dat = random_alnum(size) > r = dbclient(request, "tmpf=`mktemp`; echo $tmpf; cat > $tmpf", input=dat, capture_output=True, text=True) > tmpf = r.stdout.rstrip() > r.check_returncode() > # Read with a pty, this is what is being tested. > # Timing/buffering is subtle, we seem to need to cat a file from disk to hit it. > m, s = pty.openpty() >> r = dbclient(request, "-t", f"cat {tmpf}; rm {tmpf}", stdin=s, capture_output=True) > >test_channels.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:66: in dbclient > return subprocess.run(full_args, **kwargs) >/usr/lib/python3.12/subprocess.py:550: in run > stdout, stderr = process.communicate(input, timeout=timeout) >/usr/lib/python3.12/subprocess.py:1209: in communicate > stdout, stderr = self._communicate(input, endtime, timeout) >/usr/lib/python3.12/subprocess.py:2116: in _communicate > self._check_timeout(endtime, orig_timeout, stdout, stderr) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Popen: returncode: -9 args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244'...> >endtime = 41037.535329432, orig_timeout = 10, stdout_seq = [], stderr_seq = [] >skip_check_and_raise = False > > def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, > skip_check_and_raise=False): > """Convenience for checking if a timeout has expired.""" > if endtime is None: > return > if skip_check_and_raise or _time() > endtime: >> raise TimeoutExpired( > self.args, orig_timeout, > output=b''.join(stdout_seq) if stdout_seq else None, > stderr=b''.join(stderr_seq) if stderr_seq else None) >E subprocess.TimeoutExpired: Command '['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.O22m2IzGtG; rm /tmp/tmp.O22m2IzGtG']' timed out after 10 seconds > >/usr/lib/python3.12/subprocess.py:1253: TimeoutExpired >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', 'tmpf=`mktemp`; echo $tmpf; cat > $tmpf'] >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.O22m2IzGtG; rm /tmp/tmp.O22m2IzGtG'] >_______________________________ test_read_pty[2] _______________________________ > >request = <FixtureRequest for <Function test_read_pty[2]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 2 > > @pytest.mark.parametrize("size", [0, 1, 2, 100, 20001, 41234]) > def test_read_pty(request, dropbear, size): > # testcase for > # https://bugs.openwrt.org/index.php?do=details&task_id=1814 > # https://github.com/mkj/dropbear/pull/85 > # From Yousong Zhou > # Fixed Oct 2021 > # > #$ ssh -t my.router cat /tmp/bigfile | wc > #Connection to my.router closed. > # 0 1 14335 <- should be 20001 > > # Write the file. No newlines etc which could confuse ptys > dat = random_alnum(size) > r = dbclient(request, "tmpf=`mktemp`; echo $tmpf; cat > $tmpf", input=dat, capture_output=True, text=True) > tmpf = r.stdout.rstrip() > r.check_returncode() > # Read with a pty, this is what is being tested. > # Timing/buffering is subtle, we seem to need to cat a file from disk to hit it. > m, s = pty.openpty() >> r = dbclient(request, "-t", f"cat {tmpf}; rm {tmpf}", stdin=s, capture_output=True) > >test_channels.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:66: in dbclient > return subprocess.run(full_args, **kwargs) >/usr/lib/python3.12/subprocess.py:550: in run > stdout, stderr = process.communicate(input, timeout=timeout) >/usr/lib/python3.12/subprocess.py:1209: in communicate > stdout, stderr = self._communicate(input, endtime, timeout) >/usr/lib/python3.12/subprocess.py:2116: in _communicate > self._check_timeout(endtime, orig_timeout, stdout, stderr) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Popen: returncode: -9 args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244'...> >endtime = 41047.856115592, orig_timeout = 10, stdout_seq = [], stderr_seq = [] >skip_check_and_raise = False > > def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, > skip_check_and_raise=False): > """Convenience for checking if a timeout has expired.""" > if endtime is None: > return > if skip_check_and_raise or _time() > endtime: >> raise TimeoutExpired( > self.args, orig_timeout, > output=b''.join(stdout_seq) if stdout_seq else None, > stderr=b''.join(stderr_seq) if stderr_seq else None) >E subprocess.TimeoutExpired: Command '['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.wRkrTHnG7b; rm /tmp/tmp.wRkrTHnG7b']' timed out after 10 seconds > >/usr/lib/python3.12/subprocess.py:1253: TimeoutExpired >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', 'tmpf=`mktemp`; echo $tmpf; cat > $tmpf'] >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.wRkrTHnG7b; rm /tmp/tmp.wRkrTHnG7b'] >______________________________ test_read_pty[100] ______________________________ > >request = <FixtureRequest for <Function test_read_pty[100]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 100 > > @pytest.mark.parametrize("size", [0, 1, 2, 100, 20001, 41234]) > def test_read_pty(request, dropbear, size): > # testcase for > # https://bugs.openwrt.org/index.php?do=details&task_id=1814 > # https://github.com/mkj/dropbear/pull/85 > # From Yousong Zhou > # Fixed Oct 2021 > # > #$ ssh -t my.router cat /tmp/bigfile | wc > #Connection to my.router closed. > # 0 1 14335 <- should be 20001 > > # Write the file. No newlines etc which could confuse ptys > dat = random_alnum(size) > r = dbclient(request, "tmpf=`mktemp`; echo $tmpf; cat > $tmpf", input=dat, capture_output=True, text=True) > tmpf = r.stdout.rstrip() > r.check_returncode() > # Read with a pty, this is what is being tested. > # Timing/buffering is subtle, we seem to need to cat a file from disk to hit it. > m, s = pty.openpty() >> r = dbclient(request, "-t", f"cat {tmpf}; rm {tmpf}", stdin=s, capture_output=True) > >test_channels.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:66: in dbclient > return subprocess.run(full_args, **kwargs) >/usr/lib/python3.12/subprocess.py:550: in run > stdout, stderr = process.communicate(input, timeout=timeout) >/usr/lib/python3.12/subprocess.py:1209: in communicate > stdout, stderr = self._communicate(input, endtime, timeout) >/usr/lib/python3.12/subprocess.py:2116: in _communicate > self._check_timeout(endtime, orig_timeout, stdout, stderr) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Popen: returncode: -9 args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244'...> >endtime = 41058.19009716, orig_timeout = 10, stdout_seq = [], stderr_seq = [] >skip_check_and_raise = False > > def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, > skip_check_and_raise=False): > """Convenience for checking if a timeout has expired.""" > if endtime is None: > return > if skip_check_and_raise or _time() > endtime: >> raise TimeoutExpired( > self.args, orig_timeout, > output=b''.join(stdout_seq) if stdout_seq else None, > stderr=b''.join(stderr_seq) if stderr_seq else None) >E subprocess.TimeoutExpired: Command '['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.eKVm7yXk3n; rm /tmp/tmp.eKVm7yXk3n']' timed out after 10 seconds > >/usr/lib/python3.12/subprocess.py:1253: TimeoutExpired >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', 'tmpf=`mktemp`; echo $tmpf; cat > $tmpf'] >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.eKVm7yXk3n; rm /tmp/tmp.eKVm7yXk3n'] >_____________________________ test_read_pty[20001] _____________________________ > >request = <FixtureRequest for <Function test_read_pty[20001]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 20001 > > @pytest.mark.parametrize("size", [0, 1, 2, 100, 20001, 41234]) > def test_read_pty(request, dropbear, size): > # testcase for > # https://bugs.openwrt.org/index.php?do=details&task_id=1814 > # https://github.com/mkj/dropbear/pull/85 > # From Yousong Zhou > # Fixed Oct 2021 > # > #$ ssh -t my.router cat /tmp/bigfile | wc > #Connection to my.router closed. > # 0 1 14335 <- should be 20001 > > # Write the file. No newlines etc which could confuse ptys > dat = random_alnum(size) > r = dbclient(request, "tmpf=`mktemp`; echo $tmpf; cat > $tmpf", input=dat, capture_output=True, text=True) > tmpf = r.stdout.rstrip() > r.check_returncode() > # Read with a pty, this is what is being tested. > # Timing/buffering is subtle, we seem to need to cat a file from disk to hit it. > m, s = pty.openpty() >> r = dbclient(request, "-t", f"cat {tmpf}; rm {tmpf}", stdin=s, capture_output=True) > >test_channels.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:66: in dbclient > return subprocess.run(full_args, **kwargs) >/usr/lib/python3.12/subprocess.py:550: in run > stdout, stderr = process.communicate(input, timeout=timeout) >/usr/lib/python3.12/subprocess.py:1209: in communicate > stdout, stderr = self._communicate(input, endtime, timeout) >/usr/lib/python3.12/subprocess.py:2116: in _communicate > self._check_timeout(endtime, orig_timeout, stdout, stderr) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Popen: returncode: -9 args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244'...> >endtime = 41068.545145496, orig_timeout = 10, stdout_seq = [], stderr_seq = [] >skip_check_and_raise = False > > def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, > skip_check_and_raise=False): > """Convenience for checking if a timeout has expired.""" > if endtime is None: > return > if skip_check_and_raise or _time() > endtime: >> raise TimeoutExpired( > self.args, orig_timeout, > output=b''.join(stdout_seq) if stdout_seq else None, > stderr=b''.join(stderr_seq) if stderr_seq else None) >E subprocess.TimeoutExpired: Command '['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.GyR3hBiHYh; rm /tmp/tmp.GyR3hBiHYh']' timed out after 10 seconds > >/usr/lib/python3.12/subprocess.py:1253: TimeoutExpired >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', 'tmpf=`mktemp`; echo $tmpf; cat > $tmpf'] >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.GyR3hBiHYh; rm /tmp/tmp.GyR3hBiHYh'] >_____________________________ test_read_pty[41234] _____________________________ > >request = <FixtureRequest for <Function test_read_pty[41234]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 41234 > > @pytest.mark.parametrize("size", [0, 1, 2, 100, 20001, 41234]) > def test_read_pty(request, dropbear, size): > # testcase for > # https://bugs.openwrt.org/index.php?do=details&task_id=1814 > # https://github.com/mkj/dropbear/pull/85 > # From Yousong Zhou > # Fixed Oct 2021 > # > #$ ssh -t my.router cat /tmp/bigfile | wc > #Connection to my.router closed. > # 0 1 14335 <- should be 20001 > > # Write the file. No newlines etc which could confuse ptys > dat = random_alnum(size) > r = dbclient(request, "tmpf=`mktemp`; echo $tmpf; cat > $tmpf", input=dat, capture_output=True, text=True) > tmpf = r.stdout.rstrip() > r.check_returncode() > # Read with a pty, this is what is being tested. > # Timing/buffering is subtle, we seem to need to cat a file from disk to hit it. > m, s = pty.openpty() >> r = dbclient(request, "-t", f"cat {tmpf}; rm {tmpf}", stdin=s, capture_output=True) > >test_channels.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:66: in dbclient > return subprocess.run(full_args, **kwargs) >/usr/lib/python3.12/subprocess.py:550: in run > stdout, stderr = process.communicate(input, timeout=timeout) >/usr/lib/python3.12/subprocess.py:1209: in communicate > stdout, stderr = self._communicate(input, endtime, timeout) >/usr/lib/python3.12/subprocess.py:2116: in _communicate > self._check_timeout(endtime, orig_timeout, stdout, stderr) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Popen: returncode: -9 args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244'...> >endtime = 41078.93734211, orig_timeout = 10, stdout_seq = [], stderr_seq = [] >skip_check_and_raise = False > > def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, > skip_check_and_raise=False): > """Convenience for checking if a timeout has expired.""" > if endtime is None: > return > if skip_check_and_raise or _time() > endtime: >> raise TimeoutExpired( > self.args, orig_timeout, > output=b''.join(stdout_seq) if stdout_seq else None, > stderr=b''.join(stderr_seq) if stderr_seq else None) >E subprocess.TimeoutExpired: Command '['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.qK9GxrO3jh; rm /tmp/tmp.qK9GxrO3jh']' timed out after 10 seconds > >/usr/lib/python3.12/subprocess.py:1253: TimeoutExpired >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', 'tmpf=`mktemp`; echo $tmpf; cat > $tmpf'] >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-t', 'cat /tmp/tmp.qK9GxrO3jh; rm /tmp/tmp.qK9GxrO3jh'] >____________________________ test_tcpflushout[L-1] _____________________________ > >request = <FixtureRequest for <Function test_tcpflushout[L-1]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 1, fwd_flag = 'L' > > @pytest.mark.parametrize("size", [1, 4000, 40000]) > @pytest.mark.parametrize("fwd_flag", "LR") > def test_tcpflushout(request, dropbear, size, fwd_flag): > """ Tests that an opened TCP connection prevent a SSH session from being closed > until that TCP connection has finished transferring > """ > opt = request.config.option > if opt.remote: > pytest.xfail("don't know address for remote") > > dat1 = os.urandom(size) > dat2 = os.urandom(size) > q = queue.Queue() > with HandleTcp(3344, timeout=1, response=q) as tcp: > > r = dbclient(request, f"-{fwd_flag}", "7788:localhost:3344", "sleep 0.1; echo -n done", > text=True, background=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) > # time to let the listener start > time.sleep(0.1) > # open a tcp connection >> c = socket.create_connection(("localhost", 7788)) > >test_channels.py:112: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.12/socket.py:865: in create_connection > raise exceptions[0] >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >address = ('localhost', 7788), timeout = <object object at 0x7f61fe978b00> >source_address = None > > def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, > source_address=None, *, all_errors=False): > """Connect to *address* and return the socket object. > > Convenience function. Connect to *address* (a 2-tuple ``(host, > port)``) and return the socket object. Passing the optional > *timeout* parameter will set the timeout on the socket instance > before attempting to connect. If no *timeout* is supplied, the > global default timeout setting returned by :func:`getdefaulttimeout` > is used. If *source_address* is set it must be a tuple of (host, port) > for the socket to bind as a source address before making the connection. > A host of '' or port 0 tells the OS to use the default. When a connection > cannot be created, raises the last error if *all_errors* is False, > and an ExceptionGroup of all errors if *all_errors* is True. > """ > > host, port = address > exceptions = [] > for res in getaddrinfo(host, port, 0, SOCK_STREAM): > af, socktype, proto, canonname, sa = res > sock = None > try: > sock = socket(af, socktype, proto) > if timeout is not _GLOBAL_DEFAULT_TIMEOUT: > sock.settimeout(timeout) > if source_address: > sock.bind(source_address) >> sock.connect(sa) >E ConnectionRefusedError: [Errno 111] Connection refused > >/usr/lib/python3.12/socket.py:850: ConnectionRefusedError >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-L', '7788:localhost:3344', 'sleep 0.1; echo -n done'] >___________________________ test_tcpflushout[L-4000] ___________________________ > >request = <FixtureRequest for <Function test_tcpflushout[L-4000]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 4000, fwd_flag = 'L' > > @pytest.mark.parametrize("size", [1, 4000, 40000]) > @pytest.mark.parametrize("fwd_flag", "LR") > def test_tcpflushout(request, dropbear, size, fwd_flag): > """ Tests that an opened TCP connection prevent a SSH session from being closed > until that TCP connection has finished transferring > """ > opt = request.config.option > if opt.remote: > pytest.xfail("don't know address for remote") > > dat1 = os.urandom(size) > dat2 = os.urandom(size) > q = queue.Queue() >> with HandleTcp(3344, timeout=1, response=q) as tcp: > >test_channels.py:105: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:91: in __init__ > super().__init__(('localhost', port), self.Handler) >/usr/lib/python3.12/socketserver.py:457: in __init__ > self.server_bind() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <test_dropbear.HandleTcp object at 0x7f61fc65fbc0> > > def server_bind(self): > """Called by constructor to bind the socket. > > May be overridden. > > """ > if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) > if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) >> self.socket.bind(self.server_address) >E OSError: [Errno 98] Address already in use > >/usr/lib/python3.12/socketserver.py:473: OSError >__________________________ test_tcpflushout[L-40000] ___________________________ > >request = <FixtureRequest for <Function test_tcpflushout[L-40000]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 40000, fwd_flag = 'L' > > @pytest.mark.parametrize("size", [1, 4000, 40000]) > @pytest.mark.parametrize("fwd_flag", "LR") > def test_tcpflushout(request, dropbear, size, fwd_flag): > """ Tests that an opened TCP connection prevent a SSH session from being closed > until that TCP connection has finished transferring > """ > opt = request.config.option > if opt.remote: > pytest.xfail("don't know address for remote") > > dat1 = os.urandom(size) > dat2 = os.urandom(size) > q = queue.Queue() >> with HandleTcp(3344, timeout=1, response=q) as tcp: > >test_channels.py:105: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:91: in __init__ > super().__init__(('localhost', port), self.Handler) >/usr/lib/python3.12/socketserver.py:457: in __init__ > self.server_bind() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <test_dropbear.HandleTcp object at 0x7f61fc67e210> > > def server_bind(self): > """Called by constructor to bind the socket. > > May be overridden. > > """ > if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) > if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) >> self.socket.bind(self.server_address) >E OSError: [Errno 98] Address already in use > >/usr/lib/python3.12/socketserver.py:473: OSError >____________________________ test_tcpflushout[R-1] _____________________________ > >request = <FixtureRequest for <Function test_tcpflushout[R-1]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 1, fwd_flag = 'R' > > @pytest.mark.parametrize("size", [1, 4000, 40000]) > @pytest.mark.parametrize("fwd_flag", "LR") > def test_tcpflushout(request, dropbear, size, fwd_flag): > """ Tests that an opened TCP connection prevent a SSH session from being closed > until that TCP connection has finished transferring > """ > opt = request.config.option > if opt.remote: > pytest.xfail("don't know address for remote") > > dat1 = os.urandom(size) > dat2 = os.urandom(size) > q = queue.Queue() > with HandleTcp(3344, timeout=1, response=q) as tcp: > > r = dbclient(request, f"-{fwd_flag}", "7788:localhost:3344", "sleep 0.1; echo -n done", > text=True, background=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) > # time to let the listener start > time.sleep(0.1) > # open a tcp connection >> c = socket.create_connection(("localhost", 7788)) > >test_channels.py:112: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.12/socket.py:865: in create_connection > raise exceptions[0] >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >address = ('localhost', 7788), timeout = <object object at 0x7f61fe978b00> >source_address = None > > def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, > source_address=None, *, all_errors=False): > """Connect to *address* and return the socket object. > > Convenience function. Connect to *address* (a 2-tuple ``(host, > port)``) and return the socket object. Passing the optional > *timeout* parameter will set the timeout on the socket instance > before attempting to connect. If no *timeout* is supplied, the > global default timeout setting returned by :func:`getdefaulttimeout` > is used. If *source_address* is set it must be a tuple of (host, port) > for the socket to bind as a source address before making the connection. > A host of '' or port 0 tells the OS to use the default. When a connection > cannot be created, raises the last error if *all_errors* is False, > and an ExceptionGroup of all errors if *all_errors* is True. > """ > > host, port = address > exceptions = [] > for res in getaddrinfo(host, port, 0, SOCK_STREAM): > af, socktype, proto, canonname, sa = res > sock = None > try: > sock = socket(af, socktype, proto) > if timeout is not _GLOBAL_DEFAULT_TIMEOUT: > sock.settimeout(timeout) > if source_address: > sock.bind(source_address) >> sock.connect(sa) >E ConnectionRefusedError: [Errno 111] Connection refused > >/usr/lib/python3.12/socket.py:850: ConnectionRefusedError >----------------------------- Captured stdout call ----------------------------- >subprocess args: ['../dbclient', '-y', '127.0.5.5', '-p', '2244', '-R', '7788:localhost:3344', 'sleep 0.1; echo -n done'] >___________________________ test_tcpflushout[R-4000] ___________________________ > >request = <FixtureRequest for <Function test_tcpflushout[R-4000]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 4000, fwd_flag = 'R' > > @pytest.mark.parametrize("size", [1, 4000, 40000]) > @pytest.mark.parametrize("fwd_flag", "LR") > def test_tcpflushout(request, dropbear, size, fwd_flag): > """ Tests that an opened TCP connection prevent a SSH session from being closed > until that TCP connection has finished transferring > """ > opt = request.config.option > if opt.remote: > pytest.xfail("don't know address for remote") > > dat1 = os.urandom(size) > dat2 = os.urandom(size) > q = queue.Queue() >> with HandleTcp(3344, timeout=1, response=q) as tcp: > >test_channels.py:105: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:91: in __init__ > super().__init__(('localhost', port), self.Handler) >/usr/lib/python3.12/socketserver.py:457: in __init__ > self.server_bind() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <test_dropbear.HandleTcp object at 0x7f61fc72a480> > > def server_bind(self): > """Called by constructor to bind the socket. > > May be overridden. > > """ > if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) > if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) >> self.socket.bind(self.server_address) >E OSError: [Errno 98] Address already in use > >/usr/lib/python3.12/socketserver.py:473: OSError >__________________________ test_tcpflushout[R-40000] ___________________________ > >request = <FixtureRequest for <Function test_tcpflushout[R-40000]>> >dropbear = <Popen: returncode: None args: ['../dropbear', '-p', '127.0.5.5:2244', '-r',...> >size = 40000, fwd_flag = 'R' > > @pytest.mark.parametrize("size", [1, 4000, 40000]) > @pytest.mark.parametrize("fwd_flag", "LR") > def test_tcpflushout(request, dropbear, size, fwd_flag): > """ Tests that an opened TCP connection prevent a SSH session from being closed > until that TCP connection has finished transferring > """ > opt = request.config.option > if opt.remote: > pytest.xfail("don't know address for remote") > > dat1 = os.urandom(size) > dat2 = os.urandom(size) > q = queue.Queue() >> with HandleTcp(3344, timeout=1, response=q) as tcp: > >test_channels.py:105: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test_dropbear.py:91: in __init__ > super().__init__(('localhost', port), self.Handler) >/usr/lib/python3.12/socketserver.py:457: in __init__ > self.server_bind() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <test_dropbear.HandleTcp object at 0x7f61fc67f800> > > def server_bind(self): > """Called by constructor to bind the socket. > > May be overridden. > > """ > if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) > if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"): > self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) >> self.socket.bind(self.server_address) >E OSError: [Errno 98] Address already in use > >/usr/lib/python3.12/socketserver.py:473: OSError >--------------------------- Captured stdout teardown --------------------------- >Terminated dropbear. Flushing output: >[42] Sep 13 18:24:29 Child connection from 127.0.0.1:57788 >[42] Sep 13 18:24:29 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57788 >[42] Sep 13 18:24:29 Exit (portage) from <127.0.0.1:57788>: Exited normally >[45] Sep 13 18:24:30 Child connection from 127.0.0.1:57790 >[45] Sep 13 18:24:30 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57790 >[45] Sep 13 18:24:30 Exit (portage) from <127.0.0.1:57790>: Exited normally >[48] Sep 13 18:24:30 Child connection from 127.0.0.1:57796 >[48] Sep 13 18:24:30 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57796 >[48] Sep 13 18:24:30 Exit (portage) from <127.0.0.1:57796>: Exited normally >[51] Sep 13 18:24:30 Child connection from 127.0.0.1:57798 >[51] Sep 13 18:24:30 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57798 >[51] Sep 13 18:24:30 Exit (portage) from <127.0.0.1:57798>: Exited normally >[54] Sep 13 18:24:30 Child connection from 127.0.0.1:57812 >[54] Sep 13 18:24:30 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57812 >[54] Sep 13 18:24:30 Exit (portage) from <127.0.0.1:57812>: Exited normally >[57] Sep 13 18:24:30 Child connection from 127.0.0.1:57824 >[57] Sep 13 18:24:30 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57824 >[57] Sep 13 18:24:30 Exit (portage) from <127.0.0.1:57824>: Exited normally >[60] Sep 13 18:24:30 Child connection from 127.0.0.1:57838 >[60] Sep 13 18:24:30 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57838 >[60] Sep 13 18:24:30 Exit (portage) from <127.0.0.1:57838>: Exited normally >[63] Sep 13 18:24:31 Child connection from 127.0.0.1:57850 >[63] Sep 13 18:24:31 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57850 >[63] Sep 13 18:24:31 Exit (portage) from <127.0.0.1:57850>: Exited normally >[66] Sep 13 18:24:31 Child connection from 127.0.0.1:57862 >[66] Sep 13 18:24:31 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57862 >[66] Sep 13 18:24:31 Exit (portage) from <127.0.0.1:57862>: Exited normally >[71] Sep 13 18:24:31 Child connection from 127.0.0.1:57868 >[71] Sep 13 18:24:31 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:57868 >[71] Sep 13 18:24:31 Failed to open any /dev/pty?? devices >[71] Sep 13 18:24:31 No pty was allocated, couldn't execute >[71] Sep 13 18:24:41 Exit (portage) from <127.0.0.1:57868>: Exited normally >[73] Sep 13 18:24:41 Child connection from 127.0.0.1:39280 >[73] Sep 13 18:24:41 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:39280 >[73] Sep 13 18:24:41 Exit (portage) from <127.0.0.1:39280>: Exited normally >[78] Sep 13 18:24:41 Child connection from 127.0.0.1:39282 >[78] Sep 13 18:24:41 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:39282 >[78] Sep 13 18:24:41 Failed to open any /dev/pty?? devices >[78] Sep 13 18:24:41 No pty was allocated, couldn't execute >[78] Sep 13 18:24:51 Exit (portage) from <127.0.0.1:39282>: Exited normally >[80] Sep 13 18:24:51 Child connection from 127.0.0.1:47360 >[80] Sep 13 18:24:51 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:47360 >[80] Sep 13 18:24:51 Exit (portage) from <127.0.0.1:47360>: Exited normally >[85] Sep 13 18:24:52 Child connection from 127.0.0.1:47368 >[85] Sep 13 18:24:52 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:47368 >[85] Sep 13 18:24:52 Failed to open any /dev/pty?? devices >[85] Sep 13 18:24:52 No pty was allocated, couldn't execute >[85] Sep 13 18:25:02 Exit (portage) from <127.0.0.1:47368>: Exited normally >[87] Sep 13 18:25:02 Child connection from 127.0.0.1:36858 >[87] Sep 13 18:25:02 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:36858 >[87] Sep 13 18:25:02 Exit (portage) from <127.0.0.1:36858>: Exited normally >[92] Sep 13 18:25:02 Child connection from 127.0.0.1:36872 >[92] Sep 13 18:25:02 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:36872 >[92] Sep 13 18:25:02 Failed to open any /dev/pty?? devices >[92] Sep 13 18:25:02 No pty was allocated, couldn't execute >[92] Sep 13 18:25:12 Exit (portage) from <127.0.0.1:36872>: Exited normally >[94] Sep 13 18:25:12 Child connection from 127.0.0.1:54724 >[94] Sep 13 18:25:12 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:54724 >[94] Sep 13 18:25:12 Exit (portage) from <127.0.0.1:54724>: Exited normally >[99] Sep 13 18:25:12 Child connection from 127.0.0.1:54736 >[99] Sep 13 18:25:12 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:54736 >[99] Sep 13 18:25:12 Failed to open any /dev/pty?? devices >[99] Sep 13 18:25:12 No pty was allocated, couldn't execute >[99] Sep 13 18:25:22 Exit (portage) from <127.0.0.1:54736>: Exited normally >[101] Sep 13 18:25:22 Child connection from 127.0.0.1:47002 >[101] Sep 13 18:25:23 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:47002 >[101] Sep 13 18:25:23 Exit (portage) from <127.0.0.1:47002>: Exited normally >[106] Sep 13 18:25:23 Child connection from 127.0.0.1:47014 >[106] Sep 13 18:25:23 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:47014 >[106] Sep 13 18:25:23 Failed to open any /dev/pty?? devices >[106] Sep 13 18:25:23 No pty was allocated, couldn't execute >[106] Sep 13 18:25:33 Exit (portage) from <127.0.0.1:47014>: Exited normally >[108] Sep 13 18:25:33 Child connection from 127.0.0.1:49566 >[108] Sep 13 18:25:33 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:49566 >[108] Sep 13 18:25:33 Exit (portage) from <127.0.0.1:49566>: Exited normally >[112] Sep 13 18:25:33 Child connection from 127.0.0.1:49578 >[112] Sep 13 18:25:33 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:49578 >[112] Sep 13 18:25:33 Exit (portage) from <127.0.0.1:49578>: Exited normally >[116] Sep 13 18:25:33 Child connection from 127.0.0.1:52862 >[116] Sep 13 18:25:33 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:52862 >[116] Sep 13 18:25:34 Exit (portage) from <127.0.0.1:52862>: Exited normally >[120] Sep 13 18:25:34 Child connection from 127.0.0.1:52870 >[120] Sep 13 18:25:34 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:52870 >[120] Sep 13 18:25:34 Exit (portage) from <127.0.0.1:52870>: Exited normally >[124] Sep 13 18:25:35 Child connection from 127.0.0.1:52880 >[124] Sep 13 18:25:35 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:52880 >[124] Sep 13 18:25:35 Exit (portage) from <127.0.0.1:52880>: Exited normally >[128] Sep 13 18:25:36 Child connection from 127.0.0.1:52894 >[128] Sep 13 18:25:36 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:52894 >[128] Sep 13 18:25:36 Exit (portage) from <127.0.0.1:52894>: Exited normally >[132] Sep 13 18:25:36 Child connection from 127.0.0.1:52906 >[132] Sep 13 18:25:36 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:52906 >[132] Sep 13 18:25:36 Exit (portage) from <127.0.0.1:52906>: Exited normally >[137] Sep 13 18:25:37 Child connection from 127.0.0.1:52908 >[137] Sep 13 18:25:37 Pubkey auth succeeded for 'portage' with ecdsa-sha2-nistp256 key SHA256:qn9bO71AeYMUk58yVIkZgYLYAxz8yTZFHYFmsXyxa7k from 127.0.0.1:52908 >[137] Sep 13 18:25:37 Exit (portage) from <127.0.0.1:52908>: Exited normally >[40] Sep 13 18:25:37 Early exit: Terminated by signal >Done >=========================== short test summary info ============================ >FAILED test_channels.py::test_read_pty[0] - subprocess.TimeoutExpired: Comman... >FAILED test_channels.py::test_read_pty[1] - subprocess.TimeoutExpired: Comman... >FAILED test_channels.py::test_read_pty[2] - subprocess.TimeoutExpired: Comman... >FAILED test_channels.py::test_read_pty[100] - subprocess.TimeoutExpired: Comm... >FAILED test_channels.py::test_read_pty[20001] - subprocess.TimeoutExpired: Co... >FAILED test_channels.py::test_read_pty[41234] - subprocess.TimeoutExpired: Co... >FAILED test_channels.py::test_tcpflushout[L-1] - ConnectionRefusedError: [Err... >FAILED test_channels.py::test_tcpflushout[L-4000] - OSError: [Errno 98] Addre... >FAILED test_channels.py::test_tcpflushout[L-40000] - OSError: [Errno 98] Addr... >FAILED test_channels.py::test_tcpflushout[R-1] - ConnectionRefusedError: [Err... >FAILED test_channels.py::test_tcpflushout[R-4000] - OSError: [Errno 98] Addre... >FAILED test_channels.py::test_tcpflushout[R-40000] - OSError: [Errno 98] Addr... >== 12 failed, 12 passed, 3 skipped, 1 xfailed, 1 xpassed in 68.04s (0:01:08) === >make[1]: *** [Makefile:16: test] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85/test' >make: *** [Makefile:291: check] Error 2 > * ERROR: net-misc/dropbear-2024.85-r1::gentoo failed (test phase): > * Make check failed. See above for details. > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 3018: Called default > * phase-functions.sh, line 874: Called default_src_test > * phase-functions.sh, line 903: Called __eapi0_src_test > * phase-helpers.sh, line 747: Called die > * The specific snippet of code: > * ${emake_cmd} ${internal_opts} check || \ > * die "Make check failed. See above for details." > * > * If you need support, post the output of `emerge --info '=net-misc/dropbear-2024.85-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/dropbear-2024.85-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:dropbear-2024.85-r1:20240913-182407.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/dropbear-2024.85-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/dropbear-2024.85-r1/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85' > * S: '/var/tmp/portage/net-misc/dropbear-2024.85-r1/work/dropbear-2024.85' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 939601
:
902924
|
902925
|
902926
|
902927
|
902928
|
902929
| 902930 |
902931
|
902932