Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f29-build-12168387-895262/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': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/sslh.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/sslh-1.19c-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f29-build-12168387-895262/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': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/sslh.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VmmuWA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/gzip -dc /builddir/build/SOURCES/sslh-1.19c-3a61c8b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/00-systemd-tuning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/01-remove-lcov-testing.patch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QzpMDd + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + ./genver.sh + make -j6 USELIBCAP=1 USESYSTEMD=1 sslh echosrv cc -Wall -g -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c cc -Wall -g -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-main.c cc -Wall -g -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c probe.c cc -Wall -g -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tls.c cc -Wall -g -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-fork.c cc -Wall -g -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-select.c cc -Wall -g -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c echosrv.c cc -Wall -g -o sslh-fork sslh-fork.o common.o sslh-main.o probe.o tls.o -lpcreposix -lconfig -lcap -lsystemd cc -Wall -g -o sslh-select sslh-select.o common.o sslh-main.o probe.o tls.o -lpcreposix -lconfig -lcap -lsystemd cc -Wall -g -o echosrv echosrv.o probe.o common.o tls.o -lpcreposix -lconfig -lcap -lsystemd #strip sslh-fork #strip sslh-select + pod2man --section=8 --release=1.19c '--center= ' sslh.pod + iconv --from=ISO-8859-1 --to=UTF-8 ChangeLog + touch -r ChangeLog ChangeLog.conv + mv ChangeLog.conv ChangeLog + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mAxXTQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386 ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386 + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/lib/systemd/system/sslh.service + cat + cat + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 1.19c-1.fc29 --unique-debug-suffix -1.19c-1.fc29.i386 --unique-debug-src-base sslh-1.19c-1.fc29.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/sbin/sslh extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/sbin/sslh-select /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 185 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs '' '' Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qhYz2u + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 2530 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==2530== Memcheck, a memory error detector ==2530== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2530== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==2530== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==2530== ssh addr: localhost:cslistener. libwrap service: sshd log_level: 1 family 10 10 [] [fork] ssl addr: localhost:etlservicemgr. libwrap service: (null) log_level: 1 family 10 10 [] [] listening on: localhost:dynamid [] localhost:dynamid [] timeout: 2 on-timeout: ssh listening to 2 addresses sslh-select 3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 started turning into mockbuild capabilities: = selecting... max_fd=5 num_probing=0 ***Test: SSL connection accepted fd 5 on slot 0 selecting... max_fd=6 num_probing=1 processing fd0 slot 0 hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:53720 to localhost:dynamid forwarded from localhost:51466 to localhost:etlservicemgr flushing deferred data to fd 6 selecting... max_fd=7 num_probing=0 processing fd1 slot 0 activity on fd6 ok 1 - SSL connection ***Test: Shy SSH connection selecting... max_fd=7 num_probing=0 accepted fd 7 on slot 1 processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 6 selecting... max_fd=8 num_probing=1 selecting... max_fd=8 num_probing=1 processing fd0 slot 1 timed out, connect to ssh closing fd 7 selecting... max_fd=8 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53724 to localhost:dynamid forwarded from localhost:38452 to localhost:cslistener ok 2 - Shy SSH connection ***Test: Bold SSH connection socket closed accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 processing fd0 slot 0 hexdump of incoming packet: connection closed down 0x000000: 53 53 48 2d 32 2e 30 20 74 65 73 74 73 75 69 74 SSH-2.0 testsuit 0x000010: 65 09 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a e.hello world. **** writing deferred on fd -1 probing for ssh closing fd 5 selecting... max_fd=8 num_probing=0 ==2534== ==2534== HEAP SUMMARY: ==2534== in use at exit: 694 bytes in 9 blocks ==2534== total heap usage: 186 allocs, 177 frees, 171,599 bytes allocated ==2534== ==2534== LEAK SUMMARY: ==2534== definitely lost: 0 bytes in 0 blocks ==2534== indirectly lost: 0 bytes in 0 blocks ==2534== possibly lost: 0 bytes in 0 blocks ==2534== still reachable: 694 bytes in 9 blocks ==2534== suppressed: 0 bytes in 0 blocks ==2534== Reachable blocks (those to which a pointer was found) are not shown. ==2534== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2534== ==2534== For counts of detected and suppressed errors, rerun with: -v ==2534== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53730 to localhost:dynamid forwarded from localhost:38456 to localhost:cslistener flushing deferred data to fd 4 ok 3 - Bold SSH connection ***Test: incomplete SSH first frame socket closed accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 processing fd0 slot 0 hexdump of incoming packet: 0x000000: 53 53 connection closed down SS **** writing deferred on fd -1 probing for ssh selecting... max_fd=8 num_probing=1 ==2536== ==2536== HEAP SUMMARY: ==2536== in use at exit: 694 bytes in 9 blocks ==2536== total heap usage: 187 allocs, 178 frees, 171,629 bytes allocated ==2536== ==2536== LEAK SUMMARY: ==2536== definitely lost: 0 bytes in 0 blocks ==2536== indirectly lost: 0 bytes in 0 blocks ==2536== possibly lost: 0 bytes in 0 blocks ==2536== still reachable: 694 bytes in 9 blocks ==2536== suppressed: 0 bytes in 0 blocks ==2536== Reachable blocks (those to which a pointer was found) are not shown. ==2536== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2536== ==2536== For counts of detected and suppressed errors, rerun with: -v ==2536== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) processing fd0 slot 0 hexdump of incoming packet: 0x000000: 48 2d 32 2e 30 20 74 65 73 74 73 75 69 74 65 09 H-2.0 testsuite. 0x000010: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. **** writing deferred on fd -1 probing for ssh closing fd 5 selecting... max_fd=8 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53734 to localhost:dynamid forwarded from localhost:38460 to localhost:cslistener flushing deferred data to fd 4 ok 4 - Incomplete first SSH frame ***Test: One SSL half-started then one SSH socket closed accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 connection closed down processing fd0 slot 0 hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl ==2538== ==2538== HEAP SUMMARY: ==2538== in use at exit: 724 bytes in 10 blocks ==2538== total heap usage: 189 allocs, 179 frees, 171,661 bytes allocated ==2538== ==2538== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==2538== at 0x40311BD: malloc (vg_replace_malloc.c:298) ==2538== by 0x4033186: realloc (vg_replace_malloc.c:785) ==2538== by 0x804B892: defer_write (common.c:297) ==2538== by 0x804E30B: probe_client_protocol (probe.c:359) ==2538== by 0x804ABA5: main_loop (sslh-select.c:405) ==2538== by 0x804DB6B: main (sslh-main.c:663) ==2538== ==2538== LEAK SUMMARY: ==2538== definitely lost: 30 bytes in 1 blocks ==2538== indirectly lost: 0 bytes in 0 blocks ==2538== possibly lost: 0 bytes in 0 blocks ==2538== still reachable: 694 bytes in 9 blocks ==2538== suppressed: 0 bytes in 0 blocks ==2538== Reachable blocks (those to which a pointer was found) are not shown. ==2538== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2538== ==2538== For counts of detected and suppressed errors, rerun with: -v ==2538== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:53738 to localhost:dynamid forwarded from localhost:51486 to localhost:etlservicemgr flushing deferred data to fd 6 selecting... max_fd=8 num_probing=0 accepted fd 7 on slot 1 processing fd1 slot 0 activity on fd6 selecting... max_fd=8 num_probing=1 selecting... max_fd=8 num_probing=1 processing fd0 slot 1 timed out, connect to ssh closing fd 7 selecting... max_fd=8 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53740 to localhost:dynamid forwarded from localhost:38468 to localhost:cslistener ok 5 - SSH during SSL being established ok 6 - SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 6 selecting... max_fd=8 num_probing=0 accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 socket closed connection closed down ==2541== ==2541== HEAP SUMMARY: ==2541== in use at exit: 754 bytes in 11 blocks ==2541== total heap usage: 215 allocs, 204 frees, 216,177 bytes allocated ==2541== ==2541== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==2541== at 0x40311BD: malloc (vg_replace_malloc.c:298) ==2541== by 0x4033186: realloc (vg_replace_malloc.c:785) ==2541== by 0x804B892: defer_write (common.c:297) ==2541== by 0x804E30B: probe_client_protocol (probe.c:359) ==2541== by 0x804ABA5: main_loop (sslh-select.c:405) ==2541== by 0x804DB6B: main (sslh-main.c:663) ==2541== ==2541== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==2541== at 0x4033145: realloc (vg_replace_malloc.c:785) ==2541== by 0x804B892: defer_write (common.c:297) ==2541== by 0x804E30B: probe_client_protocol (probe.c:359) ==2541== by 0x804ABA5: main_loop (sslh-select.c:405) ==2541== by 0x804DB6B: main (sslh-main.c:663) ==2541== ==2541== LEAK SUMMARY: ==2541== definitely lost: 60 bytes in 2 blocks ==2541== indirectly lost: 0 bytes in 0 blocks ==2541== possibly lost: 0 bytes in 0 blocks ==2541== still reachable: 694 bytes in 9 blocks ==2541== suppressed: 0 bytes in 0 blocks ==2541== Reachable blocks (those to which a pointer was found) are not shown. ==2541== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2541== ==2541== For counts of detected and suppressed errors, rerun with: -v ==2541== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) selecting... max_fd=8 num_probing=1 accepted fd 6 on slot 1 processing fd0 slot 0 timed out, connect to ssh closing fd 5 selecting... max_fd=8 num_probing=1 processing fd0 slot 1 hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl connecting to localhost:etlservicemgr family 10 len 28 connecting to localhost:cslistener family 10 len 28 ssl:connection from localhost:53748 to localhost:dynamid forwarded from localhost:51494 to localhost:etlservicemgr flushing deferred data to fd 5 selecting... max_fd=8 num_probing=0 processing fd1 slot 1 activity on fd5 ok 7 - SSL during SSH being established selecting... max_fd=8 num_probing=0 ssh:connection from localhost:53746 to localhost:dynamid forwarded from localhost:38476 to localhost:cslistener ok 8 - SSH connection interrupted by SSL socket closed processing fd0 slot 1 activity on fd6 closing fd 6 closing fd 5 connection closed down selecting... max_fd=8 num_probing=0 killing 2530 ==2543== ==2543== HEAP SUMMARY: ==2543== in use at exit: 754 bytes in 11 blocks ==2543== total heap usage: 215 allocs, 204 frees, 216,177 bytes allocated ==2543== ==2543== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==2543== at 0x40311BD: malloc (vg_replace_malloc.c:298) ==2543== by 0x4033186: realloc (vg_replace_malloc.c:785) ==2543== by 0x804B892: defer_write (common.c:297) ==2543== by 0x804E30B: probe_client_protocol (probe.c:359) ==2543== by 0x804ABA5: main_loop (sslh-select.c:405) ==2543== by 0x804DB6B: main (sslh-main.c:663) ==2543== ==2543== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==2543== at 0x4033145: realloc (vg_replace_malloc.c:785) ==2543== by 0x804B892: defer_write (common.c:297) ==2543== by 0x804E30B: probe_client_protocol (probe.c:359) ==2543== by 0x804ABA5: main_loop (sslh-select.c:405) ==2543== by 0x804DB6B: main (sslh-main.c:663) ==2543== ==2543== LEAK SUMMARY: ==2543== definitely lost: 60 bytes in 2 blocks ==2543== indirectly lost: 0 bytes in 0 blocks ==2543== possibly lost: 0 bytes in 0 blocks ==2543== still reachable: 694 bytes in 9 blocks ==2543== suppressed: 0 bytes in 0 blocks ==2543== Reachable blocks (those to which a pointer was found) are not shown. ==2543== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2543== ==2543== For counts of detected and suppressed errors, rerun with: -v ==2543== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==2530== ==2530== HEAP SUMMARY: ==2530== in use at exit: 4,846 bytes in 12 blocks ==2530== total heap usage: 216 allocs, 204 frees, 216,193 bytes allocated ==2530== ==2530== 30 bytes in 1 blocks are definitely lost in loss record 3 of 10 ==2530== at 0x40311BD: malloc (vg_replace_malloc.c:298) ==2530== by 0x4033186: realloc (vg_replace_malloc.c:785) ==2530== by 0x804B892: defer_write (common.c:297) ==2530== by 0x804E30B: probe_client_protocol (probe.c:359) ==2530== by 0x804ABA5: main_loop (sslh-select.c:405) ==2530== by 0x804DB6B: main (sslh-main.c:663) ==2530== ==2530== 30 bytes in 1 blocks are definitely lost in loss record 4 of 10 ==2530== at 0x4033145: realloc (vg_replace_malloc.c:785) ==2530== by 0x804B892: defer_write (common.c:297) ==2530== by 0x804E30B: probe_client_protocol (probe.c:359) ==2530== by 0x804ABA5: main_loop (sslh-select.c:405) ==2530== by 0x804DB6B: main (sslh-main.c:663) ==2530== ==2530== LEAK SUMMARY: ==2530== definitely lost: 60 bytes in 2 blocks ==2530== indirectly lost: 0 bytes in 0 blocks ==2530== possibly lost: 0 bytes in 0 blocks ==2530== still reachable: 4,786 bytes in 10 blocks ==2530== suppressed: 0 bytes in 0 blocks ==2530== Reachable blocks (those to which a pointer was found) are not shown. ==2530== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2530== ==2530== For counts of detected and suppressed errors, rerun with: -v ==2530== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 2547 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==2547== Memcheck, a memory error detector ==2547== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2547== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==2547== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==2547== ssh addr: localhost:cslistener. libwrap service: sshd log_level: 1 family 10 10 [] [fork] ssl addr: localhost:etlservicemgr. libwrap service: (null) log_level: 1 family 10 10 [] [] listening on: localhost:dynamid [] localhost:dynamid [] timeout: 2 on-timeout: ssh listening to 2 addresses sslh-fork 3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 started turning into mockbuild capabilities: = ***Test: SSL connection accepted fd 5 hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:53754 to localhost:dynamid forwarded from localhost:51500 to localhost:etlservicemgr flushing deferred data to fd 3 ok 9 - SSL connection ***Test: Shy SSH connection accepted fd 5 server socket closed connection closed down ==2550== ==2550== HEAP SUMMARY: ==2550== in use at exit: 700 bytes in 10 blocks ==2550== total heap usage: 161 allocs, 151 frees, 123,011 bytes allocated ==2550== ==2550== LEAK SUMMARY: ==2550== definitely lost: 0 bytes in 0 blocks ==2550== indirectly lost: 0 bytes in 0 blocks ==2550== possibly lost: 0 bytes in 0 blocks ==2550== still reachable: 700 bytes in 10 blocks ==2550== suppressed: 0 bytes in 0 blocks ==2550== Reachable blocks (those to which a pointer was found) are not shown. ==2550== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2550== ==2550== For counts of detected and suppressed errors, rerun with: -v ==2550== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) timed out, connect to ssh connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53758 to localhost:dynamid forwarded from localhost:38484 to localhost:cslistener flushing deferred data to fd 3 ok 10 - Shy SSH connection ***Test: Bold SSH connection accepted fd 5 server socket closed connection closed down hexdump of incoming packet: 0x000000: 53 53 48 2d 32 2e 30 20 74 65 73 74 73 75 69 74 SSH-2.0 testsuit 0x000010: 65 09 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a e.hello world. **** writing deferred on fd -1 probing for ssh ==2552== ==2552== HEAP SUMMARY: ==2552== in use at exit: 700 bytes in 10 blocks ==2552== total heap usage: 160 allocs, 150 frees, 122,995 bytes allocated ==2552== ==2552== LEAK SUMMARY: ==2552== definitely lost: 0 bytes in 0 blocks ==2552== indirectly lost: 0 bytes in 0 blocks ==2552== possibly lost: 0 bytes in 0 blocks ==2552== still reachable: 700 bytes in 10 blocks ==2552== suppressed: 0 bytes in 0 blocks ==2552== Reachable blocks (those to which a pointer was found) are not shown. ==2552== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2552== ==2552== For counts of detected and suppressed errors, rerun with: -v ==2552== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53762 to localhost:dynamid forwarded from localhost:38488 to localhost:cslistener flushing deferred data to fd 3 ok 11 - Bold SSH connection ***Test: incomplete SSH first frame server socket closed accepted fd 5 connection closed down hexdump of incoming packet: 0x000000: 53 53 SS **** writing deferred on fd -1 probing for ssh ==2554== ==2554== HEAP SUMMARY: ==2554== in use at exit: 700 bytes in 10 blocks ==2554== total heap usage: 161 allocs, 151 frees, 123,025 bytes allocated ==2554== ==2554== LEAK SUMMARY: ==2554== definitely lost: 0 bytes in 0 blocks ==2554== indirectly lost: 0 bytes in 0 blocks ==2554== possibly lost: 0 bytes in 0 blocks ==2554== still reachable: 700 bytes in 10 blocks ==2554== suppressed: 0 bytes in 0 blocks ==2554== Reachable blocks (those to which a pointer was found) are not shown. ==2554== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2554== ==2554== For counts of detected and suppressed errors, rerun with: -v ==2554== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) hexdump of incoming packet: 0x000000: 48 2d 32 2e 30 20 74 65 73 74 73 75 69 74 65 09 H-2.0 testsuite. 0x000010: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. **** writing deferred on fd -1 probing for ssh connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53766 to localhost:dynamid forwarded from localhost:38492 to localhost:cslistener flushing deferred data to fd 3 ok 12 - Incomplete first SSH frame ***Test: One SSL half-started then one SSH accepted fd 5 accepted fd 5 server socket closed connection closed down hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl ==2556== ==2556== HEAP SUMMARY: ==2556== in use at exit: 700 bytes in 10 blocks ==2556== total heap usage: 162 allocs, 152 frees, 123,027 bytes allocated ==2556== ==2556== LEAK SUMMARY: ==2556== definitely lost: 0 bytes in 0 blocks ==2556== indirectly lost: 0 bytes in 0 blocks ==2556== possibly lost: 0 bytes in 0 blocks ==2556== still reachable: 700 bytes in 10 blocks ==2556== suppressed: 0 bytes in 0 blocks ==2556== Reachable blocks (those to which a pointer was found) are not shown. ==2556== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2556== ==2556== For counts of detected and suppressed errors, rerun with: -v ==2556== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:53770 to localhost:dynamid forwarded from localhost:51518 to localhost:etlservicemgr flushing deferred data to fd 3 timed out, connect to ssh connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53772 to localhost:dynamid forwarded from localhost:38502 to localhost:cslistener flushing deferred data to fd 3 ok 13 - SSH during SSL being established ok 14 - SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL server socket closed server socket closed accepted fd 5 connection closed down connection closed down ==2558== ==2558== HEAP SUMMARY: ==2558== in use at exit: 700 bytes in 10 blocks ==2558== total heap usage: 161 allocs, 151 frees, 123,011 bytes allocated ==2558== ==2558== LEAK SUMMARY: ==2558== definitely lost: 0 bytes in 0 blocks ==2558== indirectly lost: 0 bytes in 0 blocks ==2558== possibly lost: 0 bytes in 0 blocks ==2558== still reachable: 700 bytes in 10 blocks ==2558== suppressed: 0 bytes in 0 blocks ==2558== Reachable blocks (those to which a pointer was found) are not shown. ==2558== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2558== ==2558== For counts of detected and suppressed errors, rerun with: -v ==2558== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==2559== ==2559== HEAP SUMMARY: ==2559== in use at exit: 700 bytes in 10 blocks ==2559== total heap usage: 160 allocs, 150 frees, 122,995 bytes allocated ==2559== ==2559== LEAK SUMMARY: ==2559== definitely lost: 0 bytes in 0 blocks ==2559== indirectly lost: 0 bytes in 0 blocks ==2559== possibly lost: 0 bytes in 0 blocks ==2559== still reachable: 700 bytes in 10 blocks ==2559== suppressed: 0 bytes in 0 blocks ==2559== Reachable blocks (those to which a pointer was found) are not shown. ==2559== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2559== ==2559== For counts of detected and suppressed errors, rerun with: -v ==2559== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) timed out, connect to ssh connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:53780 to localhost:dynamid forwarded from localhost:38506 to localhost:cslistener flushing deferred data to fd 3 accepted fd 5 hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:53784 to localhost:dynamid forwarded from localhost:51530 to localhost:etlservicemgr flushing deferred data to fd 3 ok 15 - SSL during SSH being established ok 16 - SSH connection interrupted by SSL server socket closed server socket closed connection closed down connection closed down killing 2547 ==2562== ==2562== HEAP SUMMARY: ==2562== in use at exit: 700 bytes in 10 blocks ==2562== total heap usage: 160 allocs, 150 frees, 122,995 bytes allocated ==2562== ==2562== LEAK SUMMARY: ==2562== definitely lost: 0 bytes in 0 blocks ==2562== indirectly lost: 0 bytes in 0 blocks ==2562== possibly lost: 0 bytes in 0 blocks ==2562== still reachable: 700 bytes in 10 blocks ==2562== suppressed: 0 bytes in 0 blocks ==2562== Reachable blocks (those to which a pointer was found) are not shown. ==2562== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2562== ==2562== For counts of detected and suppressed errors, rerun with: -v ==2562== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==2549== ==2549== HEAP SUMMARY: ==2549== in use at exit: 700 bytes in 10 blocks ==2549== total heap usage: 133 allocs, 123 frees, 78,475 bytes allocated ==2549== ==2548== ==2548== HEAP SUMMARY: ==2548== in use at exit: 700 bytes in 10 blocks ==2548== total heap usage: 133 allocs, 123 frees, 78,475 bytes allocated ==2548== ==2549== LEAK SUMMARY: ==2549== definitely lost: 0 bytes in 0 blocks ==2549== indirectly lost: 0 bytes in 0 blocks ==2549== possibly lost: 0 bytes in 0 blocks ==2549== still reachable: 700 bytes in 10 blocks ==2549== suppressed: 0 bytes in 0 blocks ==2549== Reachable blocks (those to which a pointer was found) are not shown. ==2549== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2549== ==2549== For counts of detected and suppressed errors, rerun with: -v ==2549== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==2548== LEAK SUMMARY: ==2548== definitely lost: 0 bytes in 0 blocks ==2548== indirectly lost: 0 bytes in 0 blocks ==2548== possibly lost: 0 bytes in 0 blocks ==2548== still reachable: 700 bytes in 10 blocks ==2548== suppressed: 0 bytes in 0 blocks ==2548== Reachable blocks (those to which a pointer was found) are not shown. ==2548== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2548== ==2548== For counts of detected and suppressed errors, rerun with: -v ==2548== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==2547== ==2547== HEAP SUMMARY: ==2547== in use at exit: 700 bytes in 10 blocks ==2547== total heap usage: 133 allocs, 123 frees, 78,475 bytes allocated ==2547== ==2547== 8 bytes in 1 blocks are definitely lost in loss record 2 of 8 ==2547== at 0x4031274: malloc (vg_replace_malloc.c:299) ==2547== by 0x804A04F: start_listen_sockets (common.c:122) ==2547== by 0x804C9FE: main (sslh-main.c:630) ==2547== ==2547== LEAK SUMMARY: ==2547== definitely lost: 8 bytes in 1 blocks ==2547== indirectly lost: 0 bytes in 0 blocks ==2547== possibly lost: 0 bytes in 0 blocks ==2547== still reachable: 692 bytes in 9 blocks ==2547== suppressed: 0 bytes in 0 blocks ==2547== Reachable blocks (those to which a pointer was found) are not shown. ==2547== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2547== ==2547== For counts of detected and suppressed errors, rerun with: -v ==2547== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==2564== ==2564== HEAP SUMMARY: ==2564== in use at exit: 700 bytes in 10 blocks ==2564== total heap usage: 161 allocs, 151 frees, 123,011 bytes allocated ==2564== ==2564== LEAK SUMMARY: ==2564== definitely lost: 0 bytes in 0 blocks ==2564== indirectly lost: 0 bytes in 0 blocks ==2564== possibly lost: 0 bytes in 0 blocks ==2564== still reachable: 700 bytes in 10 blocks ==2564== suppressed: 0 bytes in 0 blocks ==2564== Reachable blocks (those to which a pointer was found) are not shown. ==2564== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2564== ==2564== For counts of detected and suppressed errors, rerun with: -v ==2564== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 2567 ssh addr: localhost:9003. libwrap service: sshd log_level: 1 family 10 10 [] [fork] ssl addr: localhost:9003. libwrap service: (null) log_level: 1 family 10 10 [] [] listening on: localhost:dynamid [] localhost:dynamid [] timeout: 2 on-timeout: ssh listening to 2 addresses sslh-select 3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 started turning into mockbuild capabilities: = selecting... max_fd=5 num_probing=0 accepted fd 5 on slot 0 selecting... max_fd=6 num_probing=1 processing fd0 slot 0 hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f hello **** writing deferred on fd -1 probing for ssh probing for ssl selecting... max_fd=6 num_probing=1 ***Test: No hostname in address ok 17 - Exit status on illegal option ***Test: Changing to non-existant username spawned 2569 9002: names must be fully specified as hostname:port exited with 1 spawned 2570 ssh addr: localhost:cslistener. libwrap service: sshd log_level: 1 family 10 10 [] [fork] ssl addr: localhost:etlservicemgr. libwrap service: (null) log_level: 1 family 10 10 [] [] listening on: localhost:dynamid [] localhost:dynamid [] timeout: 2 on-timeout: ssh listening to 2 addresses sslh-select 3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 started mockbuild_doesnt_exist: not found ok 18 - Exit status on non-existant username ***Test: Can't open PID file exited with 2 spawned 2571 ssh addr: localhost:cslistener. libwrap service: sshd log_level: 1 family 10 10 [] [fork] ssl addr: localhost:etlservicemgr. libwrap service: (null) log_level: 1 family 10 10 [] [] listening on: localhost:dynamid [] localhost:dynamid [] timeout: 2 on-timeout: ssh listening to 2 addresses /dont_exist//tmp/sslh_test.pid: No such file or directory ok 19 - Exit status if can't open PID file ***Test: Can't resolve address exited with 3 spawned 2572 Name or service not known `blahblah.dontexist:9000' Name or service not known `blahblah.dontexist' ok 20 - Exit status if can't resolve address exited with 4 1..20 + exit 0 Processing files: sslh-1.19c-1.fc29.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ybwQ3H + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/doc/sslh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nRP46U + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/licenses/sslh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-1.fc29 sslh = 1.19c-1.fc29 sslh(x86-32) = 1.19c-1.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcap.so.2 libconfig.so.9 libpcreposix.so.0 libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) rtld(GNU_HASH) Processing files: sslh-debugsource-1.19c-1.fc29.i686 Provides: sslh-debugsource = 1.19c-1.fc29 sslh-debugsource(x86-32) = 1.19c-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sslh-debuginfo-1.19c-1.fc29.i686 Provides: debuginfo(build-id) = 230041e769485ff3f5a5fdb421dd8bbf2907ff14 debuginfo(build-id) = 8c6890f47faf6d95eaa78754e7ebcce0dbaaa6ad sslh-debuginfo = 1.19c-1.fc29 sslh-debuginfo(x86-32) = 1.19c-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sslh-debugsource(x86-32) = 1.19c-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386 Wrote: /builddir/build/RPMS/sslh-1.19c-1.fc29.i686.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-1.fc29.i686.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-1.fc29.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.27XBF8 + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.i386 + exit 0 Child return code was: 0