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/f27-build-12168444-895240/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.fc27.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/f27-build-12168444-895240/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.ZgzA2l + 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/cat /builddir/build/SOURCES/01-remove-lcov-testing.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dauB2t + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + ./genver.sh + make -j48 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 sslh echosrv cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-main.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c probe.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tls.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-fork.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-select.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c echosrv.c common.c: In function 'check_access_rights': common.c:616:20: warning: passing argument 1 of 'hosts_ctl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) { ^~~~~~~ In file included from common.c:49:0: /usr/include/tcpd.h:200:12: note: expected 'char *' but argument is of type 'const char *' extern int hosts_ctl(char *daemon, char *client_name, char *client_addr, ^~~~~~~~~ cc -Wall -g -o sslh-fork sslh-fork.o common.o sslh-main.o probe.o tls.o -lwrap -lpcreposix -lconfig -lcap -lsystemd cc -Wall -g -o sslh-select sslh-select.o common.o sslh-main.o probe.o tls.o -lwrap -lpcreposix -lconfig -lcap -lsystemd cc -Wall -g -o echosrv echosrv.o probe.o common.o tls.o -lwrap -lpcreposix -lconfig -lcap -lsystemd #strip sslh-select #strip sslh-fork + 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.eWzQAC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386 ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386 + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/lib/systemd/system/sslh.service + cat + cat + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 1.19c-1.fc27 --unique-debug-suffix -1.19c-1.fc27.i386 --unique-debug-src-base sslh-1.19c-1.fc27.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.fc27.i386/usr/sbin/sslh-select extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/sbin/sslh /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 185 blocks + /usr/lib/rpm/check-buildroot + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CowejM + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 9489 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==9489== Memcheck, a memory error detector ==9489== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==9489== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==9489== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==9489== 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:55034 to localhost:dynamid forwarded from localhost:58124 to localhost:etlservicemgr flushing deferred data to fd 6 selecting... max_fd=7 num_probing=0 processing fd1 slot 0 activity on fd6 selecting... max_fd=7 num_probing=0 ok 1 - SSL connection ***Test: Shy SSH connection processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 6 selecting... max_fd=7 num_probing=0 accepted fd 5 on slot 0 selecting... max_fd=7 num_probing=1 selecting... max_fd=7 num_probing=1 processing fd0 slot 0 timed out, connect to ssh closing fd 5 selecting... max_fd=7 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:55038 to localhost:dynamid forwarded from localhost:36926 to localhost:cslistener ok 2 - Shy SSH connection ***Test: Bold SSH connection socket closed accepted fd 5 on slot 0 selecting... max_fd=7 num_probing=1 connection closed down processing fd0 slot 0 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 closing fd 5 selecting... max_fd=7 num_probing=0 ==9493== ==9493== HEAP SUMMARY: ==9493== in use at exit: 694 bytes in 9 blocks ==9493== total heap usage: 194 allocs, 185 frees, 184,982 bytes allocated ==9493== ==9493== LEAK SUMMARY: ==9493== definitely lost: 0 bytes in 0 blocks ==9493== indirectly lost: 0 bytes in 0 blocks ==9493== possibly lost: 0 bytes in 0 blocks ==9493== still reachable: 694 bytes in 9 blocks ==9493== suppressed: 0 bytes in 0 blocks ==9493== Reachable blocks (those to which a pointer was found) are not shown. ==9493== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9493== ==9493== For counts of detected and suppressed errors, rerun with: -v ==9493== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:55042 to localhost:dynamid forwarded from localhost:36930 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=7 num_probing=1 connection closed down processing fd0 slot 0 hexdump of incoming packet: 0x000000: 53 53 SS **** writing deferred on fd -1 probing for ssh selecting... max_fd=7 num_probing=1 ==9495== ==9495== HEAP SUMMARY: ==9495== in use at exit: 694 bytes in 9 blocks ==9495== total heap usage: 202 allocs, 193 frees, 198,352 bytes allocated ==9495== ==9495== LEAK SUMMARY: ==9495== definitely lost: 0 bytes in 0 blocks ==9495== indirectly lost: 0 bytes in 0 blocks ==9495== possibly lost: 0 bytes in 0 blocks ==9495== still reachable: 694 bytes in 9 blocks ==9495== suppressed: 0 bytes in 0 blocks ==9495== Reachable blocks (those to which a pointer was found) are not shown. ==9495== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9495== ==9495== For counts of detected and suppressed errors, rerun with: -v ==9495== 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=7 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:55046 to localhost:dynamid forwarded from localhost:36934 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=7 num_probing=1 connection closed down accepted fd 6 on slot 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 ==9497== ==9497== HEAP SUMMARY: ==9497== in use at exit: 724 bytes in 10 blocks ==9497== total heap usage: 211 allocs, 201 frees, 211,724 bytes allocated ==9497== ==9497== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==9497== at 0x4030185: malloc (vg_replace_malloc.c:298) ==9497== by 0x403226A: realloc (vg_replace_malloc.c:785) ==9497== by 0x804B93A: defer_write (common.c:297) ==9497== by 0x804E5AA: probe_client_protocol (probe.c:359) ==9497== by 0x804AC4C: main_loop (sslh-select.c:405) ==9497== by 0x804DDFA: main (sslh-main.c:663) ==9497== ==9497== LEAK SUMMARY: ==9497== definitely lost: 30 bytes in 1 blocks ==9497== indirectly lost: 0 bytes in 0 blocks ==9497== possibly lost: 0 bytes in 0 blocks ==9497== still reachable: 694 bytes in 9 blocks ==9497== suppressed: 0 bytes in 0 blocks ==9497== Reachable blocks (those to which a pointer was found) are not shown. ==9497== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9497== ==9497== For counts of detected and suppressed errors, rerun with: -v ==9497== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:55050 to localhost:dynamid forwarded from localhost:58142 to localhost:etlservicemgr flushing deferred data to fd 7 selecting... max_fd=8 num_probing=1 processing fd1 slot 0 activity on fd7 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 6 selecting... max_fd=8 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:55052 to localhost:dynamid forwarded from localhost:36942 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 socket closed closing fd 5 closing fd 7 selecting... max_fd=8 num_probing=0 connection closed down accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 ==9500== ==9500== HEAP SUMMARY: ==9500== in use at exit: 754 bytes in 11 blocks ==9500== total heap usage: 244 allocs, 233 frees, 269,580 bytes allocated ==9500== ==9500== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==9500== at 0x4030185: malloc (vg_replace_malloc.c:298) ==9500== by 0x403226A: realloc (vg_replace_malloc.c:785) ==9500== by 0x804B93A: defer_write (common.c:297) ==9500== by 0x804E5AA: probe_client_protocol (probe.c:359) ==9500== by 0x804AC4C: main_loop (sslh-select.c:405) ==9500== by 0x804DDFA: main (sslh-main.c:663) ==9500== ==9500== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==9500== at 0x403221B: realloc (vg_replace_malloc.c:785) ==9500== by 0x804B93A: defer_write (common.c:297) ==9500== by 0x804E5AA: probe_client_protocol (probe.c:359) ==9500== by 0x804AC4C: main_loop (sslh-select.c:405) ==9500== by 0x804DDFA: main (sslh-main.c:663) ==9500== ==9500== LEAK SUMMARY: ==9500== definitely lost: 60 bytes in 2 blocks ==9500== indirectly lost: 0 bytes in 0 blocks ==9500== possibly lost: 0 bytes in 0 blocks ==9500== still reachable: 694 bytes in 9 blocks ==9500== suppressed: 0 bytes in 0 blocks ==9500== Reachable blocks (those to which a pointer was found) are not shown. ==9500== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9500== ==9500== For counts of detected and suppressed errors, rerun with: -v ==9500== 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:55062 to localhost:dynamid forwarded from localhost:58152 to localhost:etlservicemgr flushing deferred data to fd 5 selecting... max_fd=8 num_probing=0 processing fd1 slot 1 activity on fd5 selecting... max_fd=8 num_probing=0 ok 7 - SSL during SSH being established ssh:connection from localhost:55058 to localhost:dynamid forwarded from localhost:36952 to localhost:cslistener ok 8 - SSH connection interrupted by SSL processing fd0 slot 1 activity on fd6 socket closed closing fd 6 closing fd 5 selecting... max_fd=8 num_probing=0 connection closed down killing 9489 ==9502== ==9502== HEAP SUMMARY: ==9502== in use at exit: 754 bytes in 11 blocks ==9502== total heap usage: 251 allocs, 240 frees, 282,920 bytes allocated ==9502== ==9502== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==9502== at 0x4030185: malloc (vg_replace_malloc.c:298) ==9502== by 0x403226A: realloc (vg_replace_malloc.c:785) ==9502== by 0x804B93A: defer_write (common.c:297) ==9502== by 0x804E5AA: probe_client_protocol (probe.c:359) ==9502== by 0x804AC4C: main_loop (sslh-select.c:405) ==9502== by 0x804DDFA: main (sslh-main.c:663) ==9502== ==9502== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==9502== at 0x403221B: realloc (vg_replace_malloc.c:785) ==9502== by 0x804B93A: defer_write (common.c:297) ==9502== by 0x804E5AA: probe_client_protocol (probe.c:359) ==9502== by 0x804AC4C: main_loop (sslh-select.c:405) ==9502== by 0x804DDFA: main (sslh-main.c:663) ==9502== ==9502== LEAK SUMMARY: ==9502== definitely lost: 60 bytes in 2 blocks ==9502== indirectly lost: 0 bytes in 0 blocks ==9502== possibly lost: 0 bytes in 0 blocks ==9502== still reachable: 694 bytes in 9 blocks ==9502== suppressed: 0 bytes in 0 blocks ==9502== Reachable blocks (those to which a pointer was found) are not shown. ==9502== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9502== ==9502== For counts of detected and suppressed errors, rerun with: -v ==9502== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==9489== ==9489== HEAP SUMMARY: ==9489== in use at exit: 4,846 bytes in 12 blocks ==9489== total heap usage: 252 allocs, 240 frees, 282,936 bytes allocated ==9489== ==9489== 30 bytes in 1 blocks are definitely lost in loss record 3 of 10 ==9489== at 0x4030185: malloc (vg_replace_malloc.c:298) ==9489== by 0x403226A: realloc (vg_replace_malloc.c:785) ==9489== by 0x804B93A: defer_write (common.c:297) ==9489== by 0x804E5AA: probe_client_protocol (probe.c:359) ==9489== by 0x804AC4C: main_loop (sslh-select.c:405) ==9489== by 0x804DDFA: main (sslh-main.c:663) ==9489== ==9489== 30 bytes in 1 blocks are definitely lost in loss record 4 of 10 ==9489== at 0x403221B: realloc (vg_replace_malloc.c:785) ==9489== by 0x804B93A: defer_write (common.c:297) ==9489== by 0x804E5AA: probe_client_protocol (probe.c:359) ==9489== by 0x804AC4C: main_loop (sslh-select.c:405) ==9489== by 0x804DDFA: main (sslh-main.c:663) ==9489== ==9489== LEAK SUMMARY: ==9489== definitely lost: 60 bytes in 2 blocks ==9489== indirectly lost: 0 bytes in 0 blocks ==9489== possibly lost: 0 bytes in 0 blocks ==9489== still reachable: 4,786 bytes in 10 blocks ==9489== suppressed: 0 bytes in 0 blocks ==9489== Reachable blocks (those to which a pointer was found) are not shown. ==9489== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9489== ==9489== For counts of detected and suppressed errors, rerun with: -v ==9489== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 9506 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==9506== Memcheck, a memory error detector ==9506== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==9506== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==9506== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==9506== 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:55068 to localhost:dynamid forwarded from localhost:58158 to localhost:etlservicemgr flushing deferred data to fd 3 ok 9 - SSL connection ***Test: Shy SSH connection server socket closed accepted fd 5 connection closed down ==9509== ==9509== HEAP SUMMARY: ==9509== in use at exit: 700 bytes in 10 blocks ==9509== total heap usage: 162 allocs, 152 frees, 123,054 bytes allocated ==9509== ==9509== LEAK SUMMARY: ==9509== definitely lost: 0 bytes in 0 blocks ==9509== indirectly lost: 0 bytes in 0 blocks ==9509== possibly lost: 0 bytes in 0 blocks ==9509== still reachable: 700 bytes in 10 blocks ==9509== suppressed: 0 bytes in 0 blocks ==9509== Reachable blocks (those to which a pointer was found) are not shown. ==9509== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9509== ==9509== For counts of detected and suppressed errors, rerun with: -v ==9509== 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:55072 to localhost:dynamid forwarded from localhost:36960 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 ==9511== ==9511== HEAP SUMMARY: ==9511== in use at exit: 700 bytes in 10 blocks ==9511== total heap usage: 168 allocs, 158 frees, 136,378 bytes allocated ==9511== ==9511== LEAK SUMMARY: ==9511== definitely lost: 0 bytes in 0 blocks ==9511== indirectly lost: 0 bytes in 0 blocks ==9511== possibly lost: 0 bytes in 0 blocks ==9511== still reachable: 700 bytes in 10 blocks ==9511== suppressed: 0 bytes in 0 blocks ==9511== Reachable blocks (those to which a pointer was found) are not shown. ==9511== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9511== ==9511== For counts of detected and suppressed errors, rerun with: -v ==9511== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:55076 to localhost:dynamid forwarded from localhost:36964 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 ==9513== ==9513== HEAP SUMMARY: ==9513== in use at exit: 700 bytes in 10 blocks ==9513== total heap usage: 169 allocs, 159 frees, 136,408 bytes allocated ==9513== ==9513== LEAK SUMMARY: ==9513== definitely lost: 0 bytes in 0 blocks ==9513== indirectly lost: 0 bytes in 0 blocks ==9513== possibly lost: 0 bytes in 0 blocks ==9513== still reachable: 700 bytes in 10 blocks ==9513== suppressed: 0 bytes in 0 blocks ==9513== Reachable blocks (those to which a pointer was found) are not shown. ==9513== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9513== ==9513== For counts of detected and suppressed errors, rerun with: -v ==9513== 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:55080 to localhost:dynamid forwarded from localhost:36968 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 server socket closed connection closed down 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 ==9515== ==9515== HEAP SUMMARY: ==9515== in use at exit: 700 bytes in 10 blocks ==9515== total heap usage: 170 allocs, 160 frees, 136,410 bytes allocated ==9515== ==9515== LEAK SUMMARY: ==9515== definitely lost: 0 bytes in 0 blocks ==9515== indirectly lost: 0 bytes in 0 blocks ==9515== possibly lost: 0 bytes in 0 blocks ==9515== still reachable: 700 bytes in 10 blocks ==9515== suppressed: 0 bytes in 0 blocks ==9515== Reachable blocks (those to which a pointer was found) are not shown. ==9515== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9515== ==9515== For counts of detected and suppressed errors, rerun with: -v ==9515== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:55084 to localhost:dynamid forwarded from localhost:58176 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:55086 to localhost:dynamid forwarded from localhost:36976 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 accepted fd 5 server socket closed connection closed down connection closed down ==9518== ==9518== HEAP SUMMARY: ==9518== in use at exit: 700 bytes in 10 blocks ==9518== total heap usage: 168 allocs, 158 frees, 136,378 bytes allocated ==9518== ==9518== LEAK SUMMARY: ==9518== definitely lost: 0 bytes in 0 blocks ==9518== indirectly lost: 0 bytes in 0 blocks ==9518== possibly lost: 0 bytes in 0 blocks ==9518== still reachable: 700 bytes in 10 blocks ==9518== suppressed: 0 bytes in 0 blocks ==9518== Reachable blocks (those to which a pointer was found) are not shown. ==9518== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9518== ==9518== For counts of detected and suppressed errors, rerun with: -v ==9518== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==9517== ==9517== HEAP SUMMARY: ==9517== in use at exit: 700 bytes in 10 blocks ==9517== total heap usage: 162 allocs, 152 frees, 123,054 bytes allocated ==9517== ==9517== LEAK SUMMARY: ==9517== definitely lost: 0 bytes in 0 blocks ==9517== indirectly lost: 0 bytes in 0 blocks ==9517== possibly lost: 0 bytes in 0 blocks ==9517== still reachable: 700 bytes in 10 blocks ==9517== suppressed: 0 bytes in 0 blocks ==9517== Reachable blocks (those to which a pointer was found) are not shown. ==9517== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9517== ==9517== For counts of detected and suppressed errors, rerun with: -v ==9517== 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:55092 to localhost:dynamid forwarded from localhost:36982 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:55098 to localhost:dynamid forwarded from localhost:58188 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 9506 ==9523== ==9523== HEAP SUMMARY: ==9523== in use at exit: 700 bytes in 10 blocks ==9523== total heap usage: 162 allocs, 152 frees, 123,054 bytes allocated ==9523== ==9523== LEAK SUMMARY: ==9523== definitely lost: 0 bytes in 0 blocks ==9523== indirectly lost: 0 bytes in 0 blocks ==9523== possibly lost: 0 bytes in 0 blocks ==9523== still reachable: 700 bytes in 10 blocks ==9523== suppressed: 0 bytes in 0 blocks ==9523== Reachable blocks (those to which a pointer was found) are not shown. ==9523== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9523== ==9523== For counts of detected and suppressed errors, rerun with: -v ==9523== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==9521== ==9521== HEAP SUMMARY: ==9521== in use at exit: 700 bytes in 10 blocks ==9521== total heap usage: 168 allocs, 158 frees, 136,378 bytes allocated ==9521== ==9521== LEAK SUMMARY: ==9521== definitely lost: 0 bytes in 0 blocks ==9521== indirectly lost: 0 bytes in 0 blocks ==9521== possibly lost: 0 bytes in 0 blocks ==9521== still reachable: 700 bytes in 10 blocks ==9521== suppressed: 0 bytes in 0 blocks ==9521== Reachable blocks (those to which a pointer was found) are not shown. ==9521== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9521== ==9521== For counts of detected and suppressed errors, rerun with: -v ==9521== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==9508== ==9508== HEAP SUMMARY: ==9508== in use at exit: 700 bytes in 10 blocks ==9508== total heap usage: 134 allocs, 124 frees, 78,518 bytes allocated ==9508== ==9507== ==9507== HEAP SUMMARY: ==9507== in use at exit: 700 bytes in 10 blocks ==9507== total heap usage: 134 allocs, 124 frees, 78,518 bytes allocated ==9507== ==9508== LEAK SUMMARY: ==9508== definitely lost: 0 bytes in 0 blocks ==9508== indirectly lost: 0 bytes in 0 blocks ==9508== possibly lost: 0 bytes in 0 blocks ==9508== still reachable: 700 bytes in 10 blocks ==9508== suppressed: 0 bytes in 0 blocks ==9508== Reachable blocks (those to which a pointer was found) are not shown. ==9508== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9508== ==9508== For counts of detected and suppressed errors, rerun with: -v ==9508== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==9507== LEAK SUMMARY: ==9507== definitely lost: 0 bytes in 0 blocks ==9507== indirectly lost: 0 bytes in 0 blocks ==9507== possibly lost: 0 bytes in 0 blocks ==9507== still reachable: 700 bytes in 10 blocks ==9507== suppressed: 0 bytes in 0 blocks ==9507== Reachable blocks (those to which a pointer was found) are not shown. ==9507== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9507== ==9507== For counts of detected and suppressed errors, rerun with: -v ==9507== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==9506== ==9506== HEAP SUMMARY: ==9506== in use at exit: 700 bytes in 10 blocks ==9506== total heap usage: 134 allocs, 124 frees, 78,518 bytes allocated ==9506== ==9506== 8 bytes in 1 blocks are definitely lost in loss record 2 of 8 ==9506== at 0x403023E: malloc (vg_replace_malloc.c:299) ==9506== by 0x804A0BB: start_listen_sockets (common.c:122) ==9506== by 0x804CC53: main (sslh-main.c:630) ==9506== ==9506== LEAK SUMMARY: ==9506== definitely lost: 8 bytes in 1 blocks ==9506== indirectly lost: 0 bytes in 0 blocks ==9506== possibly lost: 0 bytes in 0 blocks ==9506== still reachable: 692 bytes in 9 blocks ==9506== suppressed: 0 bytes in 0 blocks ==9506== Reachable blocks (those to which a pointer was found) are not shown. ==9506== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==9506== ==9506== For counts of detected and suppressed errors, rerun with: -v ==9506== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 9526 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 spawned 9528 ok 17 - Exit status on illegal option ***Test: Changing to non-existant username 9002: names must be fully specified as hostname:port exited with 1 spawned 9529 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 exited with 2 ok 18 - Exit status on non-existant username ***Test: Can't open PID file spawned 9530 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 exited with 3 ok 19 - Exit status if can't open PID file ***Test: Can't resolve address spawned 9531 Name or service not known `blahblah.dontexist:9000' Name or service not known `blahblah.dontexist' exited with 4 ok 20 - Exit status if can't resolve address 1..20 + exit 0 Processing files: sslh-1.19c-1.fc27.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.laTQnu + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc27.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.fc27.i386/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.I0Jeuc + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc27.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.fc27.i386/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-1.fc27 sslh = 1.19c-1.fc27 sslh(x86-32) = 1.19c-1.fc27 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) libwrap.so.0 rtld(GNU_HASH) Processing files: sslh-debugsource-1.19c-1.fc27.i686 Provides: sslh-debugsource = 1.19c-1.fc27 sslh-debugsource(x86-32) = 1.19c-1.fc27 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.fc27.i686 Provides: debuginfo(build-id) = 59e377af95168f1f1645b9a252c2419870c87495 debuginfo(build-id) = a8716ca00c3f7f8e4cd6e2ea00d6acae2b234750 sslh-debuginfo = 1.19c-1.fc27 sslh-debuginfo(x86-32) = 1.19c-1.fc27 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.fc27 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386 Wrote: /builddir/build/RPMS/sslh-1.19c-1.fc27.i686.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-1.fc27.i686.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-1.fc27.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kaNy6U + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.i386 + exit 0 Child return code was: 0