Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f28-build-12365283-908007/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 x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sslh-1.19c-2.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f28-build-12365283-908007/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MzcFwJ + 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.Bwtlmh + 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.GKiPPP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64 + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/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-2.fc28 --unique-debug-suffix -1.19c-2.fc28.x86_64 --unique-debug-src-base sslh-1.19c-2.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/sbin/sslh-select extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/sbin/sslh /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-2.fc28.x86_64/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.awisjp + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 5554 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==5554== Memcheck, a memory error detector ==5554== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==5554== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==5554== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==5554== 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:54708 to localhost:dynamid forwarded from localhost:37682 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:54712 to localhost:dynamid forwarded from localhost:42608 to localhost:cslistener ok 2 - Shy SSH connection ***Test: Bold SSH connection socket closed accepted fd 5 on slot 0 connection closed down selecting... max_fd=7 num_probing=1 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 ==5558== ==5558== HEAP SUMMARY: ==5558== in use at exit: 1,182 bytes in 9 blocks ==5558== total heap usage: 186 allocs, 177 frees, 181,691 bytes allocated ==5558== ==5558== LEAK SUMMARY: ==5558== definitely lost: 0 bytes in 0 blocks ==5558== indirectly lost: 0 bytes in 0 blocks ==5558== possibly lost: 0 bytes in 0 blocks ==5558== still reachable: 1,182 bytes in 9 blocks ==5558== suppressed: 0 bytes in 0 blocks ==5558== Reachable blocks (those to which a pointer was found) are not shown. ==5558== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5558== ==5558== For counts of detected and suppressed errors, rerun with: -v ==5558== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:54716 to localhost:dynamid forwarded from localhost:42612 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 processing fd0 slot 0 hexdump of incoming packet: 0x000000: 53 53 SS **** writing deferred on fd -1 connection closed down probing for ssh selecting... max_fd=7 num_probing=1 ==5560== ==5560== HEAP SUMMARY: ==5560== in use at exit: 1,182 bytes in 9 blocks ==5560== total heap usage: 187 allocs, 178 frees, 181,721 bytes allocated ==5560== ==5560== LEAK SUMMARY: ==5560== definitely lost: 0 bytes in 0 blocks ==5560== indirectly lost: 0 bytes in 0 blocks ==5560== possibly lost: 0 bytes in 0 blocks ==5560== still reachable: 1,182 bytes in 9 blocks ==5560== suppressed: 0 bytes in 0 blocks ==5560== Reachable blocks (those to which a pointer was found) are not shown. ==5560== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5560== ==5560== For counts of detected and suppressed errors, rerun with: -v ==5560== 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:54720 to localhost:dynamid forwarded from localhost:42616 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 connection closed down accepted fd 5 on slot 0 selecting... max_fd=7 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 ==5562== ==5562== HEAP SUMMARY: ==5562== in use at exit: 1,212 bytes in 10 blocks ==5562== total heap usage: 189 allocs, 179 frees, 181,753 bytes allocated ==5562== ==5562== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==5562== at 0x4C2DAE8: malloc (vg_replace_malloc.c:298) ==5562== by 0x4C2FD4F: realloc (vg_replace_malloc.c:785) ==5562== by 0x404C46: defer_write (common.c:297) ==5562== by 0x407BDA: probe_client_protocol (probe.c:359) ==5562== by 0x403C29: main_loop (sslh-select.c:405) ==5562== by 0x40730D: main (sslh-main.c:663) ==5562== ==5562== LEAK SUMMARY: ==5562== definitely lost: 30 bytes in 1 blocks ==5562== indirectly lost: 0 bytes in 0 blocks ==5562== possibly lost: 0 bytes in 0 blocks ==5562== still reachable: 1,182 bytes in 9 blocks ==5562== suppressed: 0 bytes in 0 blocks ==5562== Reachable blocks (those to which a pointer was found) are not shown. ==5562== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5562== ==5562== For counts of detected and suppressed errors, rerun with: -v ==5562== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:54724 to localhost:dynamid forwarded from localhost:37700 to localhost:etlservicemgr flushing deferred data to fd 6 selecting... max_fd=7 num_probing=0 accepted fd 7 on slot 1 selecting... max_fd=8 num_probing=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:54726 to localhost:dynamid forwarded from localhost:42624 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 socket closed accepted fd 7 on slot 1 connection closed down processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 6 selecting... max_fd=8 num_probing=1 ==5565== ==5565== HEAP SUMMARY: ==5565== in use at exit: 1,242 bytes in 11 blocks ==5565== total heap usage: 215 allocs, 204 frees, 228,449 bytes allocated ==5565== ==5565== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==5565== at 0x4C2DAE8: malloc (vg_replace_malloc.c:298) ==5565== by 0x4C2FD4F: realloc (vg_replace_malloc.c:785) ==5565== by 0x404C46: defer_write (common.c:297) ==5565== by 0x407BDA: probe_client_protocol (probe.c:359) ==5565== by 0x403C29: main_loop (sslh-select.c:405) ==5565== by 0x40730D: main (sslh-main.c:663) ==5565== ==5565== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==5565== at 0x4C2FD05: realloc (vg_replace_malloc.c:785) ==5565== by 0x404C46: defer_write (common.c:297) ==5565== by 0x407BDA: probe_client_protocol (probe.c:359) ==5565== by 0x403C29: main_loop (sslh-select.c:405) ==5565== by 0x40730D: main (sslh-main.c:663) ==5565== ==5565== LEAK SUMMARY: ==5565== definitely lost: 60 bytes in 2 blocks ==5565== indirectly lost: 0 bytes in 0 blocks ==5565== possibly lost: 0 bytes in 0 blocks ==5565== still reachable: 1,182 bytes in 9 blocks ==5565== suppressed: 0 bytes in 0 blocks ==5565== Reachable blocks (those to which a pointer was found) are not shown. ==5565== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5565== ==5565== For counts of detected and suppressed errors, rerun with: -v ==5565== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) selecting... max_fd=8 num_probing=1 accepted fd 5 on slot 0 processing fd0 slot 1 timed out, connect to ssh closing fd 7 selecting... max_fd=8 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:cslistener family 10 len 28 connecting to localhost:etlservicemgr family 10 len 28 ssh:connection from localhost:54732 to localhost:dynamid forwarded from localhost:42632 to localhost:cslistener ssl:connection from localhost:54736 to localhost:dynamid forwarded from localhost:37712 to localhost:etlservicemgr flushing deferred data to fd 6 selecting... max_fd=8 num_probing=0 processing fd1 slot 0 activity on fd6 selecting... max_fd=8 num_probing=0 ok 7 - SSL during SSH being established ok 8 - SSH connection interrupted by SSL processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 6 socket closed selecting... max_fd=8 num_probing=0 connection closed down killing 5554 ==5567== ==5554== ==5554== HEAP SUMMARY: ==5554== in use at exit: 5,290 bytes in 12 blocks ==5554== total heap usage: 216 allocs, 204 frees, 228,465 bytes allocated ==5554== ==5567== HEAP SUMMARY: ==5567== in use at exit: 1,242 bytes in 11 blocks ==5567== total heap usage: 215 allocs, 204 frees, 228,449 bytes allocated ==5567== ==5554== 30 bytes in 1 blocks are definitely lost in loss record 3 of 10 ==5554== at 0x4C2DAE8: malloc (vg_replace_malloc.c:298) ==5554== by 0x4C2FD4F: realloc (vg_replace_malloc.c:785) ==5554== by 0x404C46: defer_write (common.c:297) ==5554== by 0x407BDA: probe_client_protocol (probe.c:359) ==5567== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==5554== by 0x403C29: main_loop (sslh-select.c:405) ==5554== by 0x40730D: main (sslh-main.c:663) ==5554== ==5554== 30 bytes in 1 blocks are definitely lost in loss record 4 of 10 ==5554== at 0x4C2FD05: realloc (vg_replace_malloc.c:785) ==5554== by 0x404C46: defer_write (common.c:297) ==5554== by 0x407BDA: probe_client_protocol (probe.c:359) ==5554== by 0x403C29: main_loop (sslh-select.c:405) ==5554== by 0x40730D: main (sslh-main.c:663) ==5554== ==5554== LEAK SUMMARY: ==5554== definitely lost: 60 bytes in 2 blocks ==5554== indirectly lost: 0 bytes in 0 blocks ==5554== possibly lost: 0 bytes in 0 blocks ==5554== still reachable: 5,230 bytes in 10 blocks ==5554== suppressed: 0 bytes in 0 blocks ==5554== Reachable blocks (those to which a pointer was found) are not shown. ==5554== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5554== ==5554== For counts of detected and suppressed errors, rerun with: -v ==5554== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==5567== at 0x4C2DAE8: malloc (vg_replace_malloc.c:298) ==5567== by 0x4C2FD4F: realloc (vg_replace_malloc.c:785) ==5567== by 0x404C46: defer_write (common.c:297) ==5567== by 0x407BDA: probe_client_protocol (probe.c:359) ==5567== by 0x403C29: main_loop (sslh-select.c:405) ==5567== by 0x40730D: main (sslh-main.c:663) ==5567== ==5567== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==5567== at 0x4C2FD05: realloc (vg_replace_malloc.c:785) ==5567== by 0x404C46: defer_write (common.c:297) ==5567== by 0x407BDA: probe_client_protocol (probe.c:359) ==5567== by 0x403C29: main_loop (sslh-select.c:405) ==5567== by 0x40730D: main (sslh-main.c:663) ==5567== ==5567== LEAK SUMMARY: ==5567== definitely lost: 60 bytes in 2 blocks ==5567== indirectly lost: 0 bytes in 0 blocks ==5567== possibly lost: 0 bytes in 0 blocks ==5567== still reachable: 1,182 bytes in 9 blocks ==5567== suppressed: 0 bytes in 0 blocks ==5567== Reachable blocks (those to which a pointer was found) are not shown. ==5567== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5567== ==5567== For counts of detected and suppressed errors, rerun with: -v ==5567== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 5571 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==5571== Memcheck, a memory error detector ==5571== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==5571== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==5571== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==5571== 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:54742 to localhost:dynamid forwarded from localhost:37716 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 ==5574== ==5574== HEAP SUMMARY: ==5574== in use at exit: 1,188 bytes in 10 blocks ==5574== total heap usage: 161 allocs, 151 frees, 130,967 bytes allocated ==5574== ==5574== LEAK SUMMARY: ==5574== definitely lost: 0 bytes in 0 blocks ==5574== indirectly lost: 0 bytes in 0 blocks ==5574== possibly lost: 0 bytes in 0 blocks ==5574== still reachable: 1,188 bytes in 10 blocks ==5574== suppressed: 0 bytes in 0 blocks ==5574== Reachable blocks (those to which a pointer was found) are not shown. ==5574== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5574== ==5574== For counts of detected and suppressed errors, rerun with: -v ==5574== 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:54746 to localhost:dynamid forwarded from localhost:42642 to localhost:cslistener flushing deferred data to fd 3 ok 10 - Shy SSH connection ***Test: Bold SSH connection server socket closed accepted fd 5 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 ==5576== ==5576== HEAP SUMMARY: ==5576== in use at exit: 1,188 bytes in 10 blocks ==5576== total heap usage: 160 allocs, 150 frees, 130,951 bytes allocated ==5576== ==5576== LEAK SUMMARY: ==5576== definitely lost: 0 bytes in 0 blocks ==5576== indirectly lost: 0 bytes in 0 blocks ==5576== possibly lost: 0 bytes in 0 blocks ==5576== still reachable: 1,188 bytes in 10 blocks ==5576== suppressed: 0 bytes in 0 blocks ==5576== Reachable blocks (those to which a pointer was found) are not shown. ==5576== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5576== ==5576== For counts of detected and suppressed errors, rerun with: -v ==5576== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:54750 to localhost:dynamid forwarded from localhost:42646 to localhost:cslistener flushing deferred data to fd 3 ok 11 - Bold SSH connection ***Test: incomplete SSH first frame accepted fd 5 server socket closed connection closed down hexdump of incoming packet: 0x000000: 53 53 SS **** writing deferred on fd -1 probing for ssh ==5578== ==5578== HEAP SUMMARY: ==5578== in use at exit: 1,188 bytes in 10 blocks ==5578== total heap usage: 161 allocs, 151 frees, 130,981 bytes allocated ==5578== ==5578== LEAK SUMMARY: ==5578== definitely lost: 0 bytes in 0 blocks ==5578== indirectly lost: 0 bytes in 0 blocks ==5578== possibly lost: 0 bytes in 0 blocks ==5578== still reachable: 1,188 bytes in 10 blocks ==5578== suppressed: 0 bytes in 0 blocks ==5578== Reachable blocks (those to which a pointer was found) are not shown. ==5578== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5578== ==5578== For counts of detected and suppressed errors, rerun with: -v ==5578== 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:54754 to localhost:dynamid forwarded from localhost:42650 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 ==5580== ==5580== HEAP SUMMARY: ==5580== in use at exit: 1,188 bytes in 10 blocks ==5580== total heap usage: 162 allocs, 152 frees, 130,983 bytes allocated ==5580== ==5580== LEAK SUMMARY: ==5580== definitely lost: 0 bytes in 0 blocks ==5580== indirectly lost: 0 bytes in 0 blocks ==5580== possibly lost: 0 bytes in 0 blocks ==5580== still reachable: 1,188 bytes in 10 blocks ==5580== suppressed: 0 bytes in 0 blocks ==5580== Reachable blocks (those to which a pointer was found) are not shown. ==5580== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5580== ==5580== For counts of detected and suppressed errors, rerun with: -v ==5580== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:54758 to localhost:dynamid forwarded from localhost:37734 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:54760 to localhost:dynamid forwarded from localhost:42658 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 ==5583== ==5583== HEAP SUMMARY: ==5583== in use at exit: 1,188 bytes in 10 blocks ==5583== total heap usage: 160 allocs, 150 frees, 130,951 bytes allocated ==5583== ==5583== LEAK SUMMARY: ==5583== definitely lost: 0 bytes in 0 blocks ==5583== indirectly lost: 0 bytes in 0 blocks ==5583== possibly lost: 0 bytes in 0 blocks ==5583== still reachable: 1,188 bytes in 10 blocks ==5583== suppressed: 0 bytes in 0 blocks ==5583== Reachable blocks (those to which a pointer was found) are not shown. ==5583== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5583== ==5583== For counts of detected and suppressed errors, rerun with: -v ==5583== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==5582== ==5582== HEAP SUMMARY: ==5582== in use at exit: 1,188 bytes in 10 blocks ==5582== total heap usage: 161 allocs, 151 frees, 130,967 bytes allocated ==5582== ==5582== LEAK SUMMARY: ==5582== definitely lost: 0 bytes in 0 blocks ==5582== indirectly lost: 0 bytes in 0 blocks ==5582== possibly lost: 0 bytes in 0 blocks ==5582== still reachable: 1,188 bytes in 10 blocks ==5582== suppressed: 0 bytes in 0 blocks ==5582== Reachable blocks (those to which a pointer was found) are not shown. ==5582== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5582== ==5582== For counts of detected and suppressed errors, rerun with: -v ==5582== 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:54766 to localhost:dynamid forwarded from localhost:42662 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:54772 to localhost:dynamid forwarded from localhost:37746 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 5571 ==5588== ==5588== HEAP SUMMARY: ==5588== in use at exit: 1,188 bytes in 10 blocks ==5588== total heap usage: 161 allocs, 151 frees, 130,967 bytes allocated ==5588== ==5588== LEAK SUMMARY: ==5588== definitely lost: 0 bytes in 0 blocks ==5588== indirectly lost: 0 bytes in 0 blocks ==5588== possibly lost: 0 bytes in 0 blocks ==5588== still reachable: 1,188 bytes in 10 blocks ==5588== suppressed: 0 bytes in 0 blocks ==5588== Reachable blocks (those to which a pointer was found) are not shown. ==5588== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5588== ==5588== For counts of detected and suppressed errors, rerun with: -v ==5588== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==5571== ==5571== HEAP SUMMARY: ==5571== in use at exit: 1,188 bytes in 10 blocks ==5571== total heap usage: 133 allocs, 123 frees, 84,231 bytes allocated ==5571== ==5573== ==5573== HEAP SUMMARY: ==5573== in use at exit: 1,188 bytes in 10 blocks ==5573== total heap usage: 133 allocs, 123 frees, 84,231 bytes allocated ==5573== ==5571== 8 bytes in 1 blocks are definitely lost in loss record 2 of 8 ==5571== at 0x4C2DBAB: malloc (vg_replace_malloc.c:299) ==5571== by 0x402AE6: start_listen_sockets (common.c:122) ==5571== by 0x4059EC: main (sslh-main.c:630) ==5573== LEAK SUMMARY: ==5573== definitely lost: 0 bytes in 0 blocks ==5573== indirectly lost: 0 bytes in 0 blocks ==5573== possibly lost: 0 bytes in 0 blocks ==5573== still reachable: 1,188 bytes in 10 blocks ==5573== suppressed: 0 bytes in 0 blocks ==5573== Reachable blocks (those to which a pointer was found) are not shown. ==5573== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5573== ==5573== For counts of detected and suppressed errors, rerun with: -v ==5573== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==5571== ==5571== LEAK SUMMARY: ==5571== definitely lost: 8 bytes in 1 blocks ==5571== indirectly lost: 0 bytes in 0 blocks ==5571== possibly lost: 0 bytes in 0 blocks ==5571== still reachable: 1,180 bytes in 9 blocks ==5571== suppressed: 0 bytes in 0 blocks ==5571== Reachable blocks (those to which a pointer was found) are not shown. ==5571== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5571== ==5571== For counts of detected and suppressed errors, rerun with: -v ==5571== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==5586== ==5586== HEAP SUMMARY: ==5586== in use at exit: 1,188 bytes in 10 blocks ==5586== total heap usage: 160 allocs, 150 frees, 130,951 bytes allocated ==5586== ==5586== LEAK SUMMARY: ==5586== definitely lost: 0 bytes in 0 blocks ==5586== indirectly lost: 0 bytes in 0 blocks ==5586== possibly lost: 0 bytes in 0 blocks ==5586== still reachable: 1,188 bytes in 10 blocks ==5586== suppressed: 0 bytes in 0 blocks ==5586== Reachable blocks (those to which a pointer was found) are not shown. ==5586== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5586== ==5586== For counts of detected and suppressed errors, rerun with: -v ==5586== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==5572== ==5572== HEAP SUMMARY: ==5572== in use at exit: 1,188 bytes in 10 blocks ==5572== total heap usage: 133 allocs, 123 frees, 84,231 bytes allocated ==5572== ==5572== LEAK SUMMARY: ==5572== definitely lost: 0 bytes in 0 blocks ==5572== indirectly lost: 0 bytes in 0 blocks ==5572== possibly lost: 0 bytes in 0 blocks ==5572== still reachable: 1,188 bytes in 10 blocks ==5572== suppressed: 0 bytes in 0 blocks ==5572== Reachable blocks (those to which a pointer was found) are not shown. ==5572== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==5572== ==5572== For counts of detected and suppressed errors, rerun with: -v ==5572== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 5591 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 5593 9002: names must be fully specified as hostname:port ok 17 - Exit status on illegal option exited with 1 ***Test: Changing to non-existant username spawned 5594 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 5595 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 5596 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-2.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SnvRDx + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/doc/sslh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cJCKZF + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/licenses/sslh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-2.fc28 sslh = 1.19c-2.fc28 sslh(x86-64) = 1.19c-2.fc28 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()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libcap.so.2()(64bit) libconfig.so.9()(64bit) libpcreposix.so.0()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Processing files: sslh-debugsource-1.19c-2.fc28.x86_64 Provides: sslh-debugsource = 1.19c-2.fc28 sslh-debugsource(x86-64) = 1.19c-2.fc28 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-2.fc28.x86_64 Provides: debuginfo(build-id) = 8847f50de34e960993e7938f12c9180a456f9de8 debuginfo(build-id) = c86c2f6f408f2b49d755bd0219fbf757fe4e1374 sslh-debuginfo = 1.19c-2.fc28 sslh-debuginfo(x86-64) = 1.19c-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sslh-debugsource(x86-64) = 1.19c-2.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64 Wrote: /builddir/build/RPMS/sslh-1.19c-2.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-2.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-2.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SyGHQO + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.x86_64 + exit 0 Child return code was: 0