Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f29-build-12168390-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 armv7hl --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: armv7hl Building for target armv7hl 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 armv7hl --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f29-build-12168390-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 armv7hl --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: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7sOZmk + 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/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/00-systemd-tuning.patch + /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.GNhyzA + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + ./genver.sh + make -j4 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 echosrv echosrv.o probe.o common.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 #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.KC6Fq0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/lib/systemd/system/sslh.service + cat + cat + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.19c-1.fc29 --unique-debug-suffix -1.19c-1.fc29.arm --unique-debug-src-base sslh-1.19c-1.fc29.arm --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.arm/usr/sbin/sslh extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/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.arm/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.5EzRPN + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 19829 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==19829== Memcheck, a memory error detector ==19829== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==19829== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==19829== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==19829== 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:52812 to localhost:dynamid forwarded from localhost:59536 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:52816 to localhost:dynamid forwarded from localhost:59552 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 ==19833== ==19833== HEAP SUMMARY: ==19833== in use at exit: 695 bytes in 9 blocks ==19833== total heap usage: 186 allocs, 177 frees, 171,842 bytes allocated ==19833== ==19833== LEAK SUMMARY: ==19833== definitely lost: 0 bytes in 0 blocks ==19833== indirectly lost: 0 bytes in 0 blocks ==19833== possibly lost: 0 bytes in 0 blocks ==19833== still reachable: 695 bytes in 9 blocks ==19833== suppressed: 0 bytes in 0 blocks ==19833== Reachable blocks (those to which a pointer was found) are not shown. ==19833== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19833== ==19833== For counts of detected and suppressed errors, rerun with: -v ==19833== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:52820 to localhost:dynamid forwarded from localhost:59556 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 ==19835== ==19835== HEAP SUMMARY: ==19835== in use at exit: 695 bytes in 9 blocks ==19835== total heap usage: 187 allocs, 178 frees, 171,872 bytes allocated ==19835== ==19835== LEAK SUMMARY: ==19835== definitely lost: 0 bytes in 0 blocks ==19835== indirectly lost: 0 bytes in 0 blocks ==19835== possibly lost: 0 bytes in 0 blocks ==19835== still reachable: 695 bytes in 9 blocks ==19835== suppressed: 0 bytes in 0 blocks ==19835== Reachable blocks (those to which a pointer was found) are not shown. ==19835== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19835== ==19835== For counts of detected and suppressed errors, rerun with: -v ==19835== 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:52824 to localhost:dynamid forwarded from localhost:59560 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 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 ==19837== ==19837== HEAP SUMMARY: ==19837== in use at exit: 725 bytes in 10 blocks ==19837== total heap usage: 189 allocs, 179 frees, 171,904 bytes allocated ==19837== ==19837== 30 bytes in 1 blocks are definitely lost in loss record 3 of 7 ==19837== at 0x4847448: malloc (vg_replace_malloc.c:298) ==19837== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==19837== by 0x147C3: defer_write (common.c:297) ==19837== by 0x18137: probe_client_protocol (probe.c:359) ==19837== by 0x13673: main_loop (sslh-select.c:405) ==19837== by 0x1757B: main (sslh-main.c:663) ==19837== ==19837== LEAK SUMMARY: ==19837== definitely lost: 30 bytes in 1 blocks ==19837== indirectly lost: 0 bytes in 0 blocks ==19837== possibly lost: 0 bytes in 0 blocks ==19837== still reachable: 695 bytes in 9 blocks ==19837== suppressed: 0 bytes in 0 blocks ==19837== Reachable blocks (those to which a pointer was found) are not shown. ==19837== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19837== ==19837== For counts of detected and suppressed errors, rerun with: -v ==19837== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:52828 to localhost:dynamid forwarded from localhost:59554 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 processing fd0 slot 1 hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. **** writing deferred on fd -1 probing for ssh probing for ssl all probes failed, connecting to first protocol: ssh closing fd 7 selecting... max_fd=8 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:52830 to localhost:dynamid forwarded from localhost:59570 to localhost:cslistener flushing deferred data to fd 4 ok 5 - SSH during SSL being established ok 6 - SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL socket closed processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 6 selecting... max_fd=8 num_probing=0 connection closed down accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 ==19840== ==19840== HEAP SUMMARY: ==19840== in use at exit: 755 bytes in 11 blocks ==19840== total heap usage: 216 allocs, 205 frees, 216,512 bytes allocated ==19840== ==19840== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==19840== at 0x4847448: malloc (vg_replace_malloc.c:298) ==19840== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==19840== by 0x147C3: defer_write (common.c:297) ==19840== by 0x18137: probe_client_protocol (probe.c:359) ==19840== by 0x13673: main_loop (sslh-select.c:405) ==19840== by 0x1757B: main (sslh-main.c:663) ==19840== ==19840== 30 bytes in 1 blocks are definitely lost in loss record 4 of 8 ==19840== at 0x4849EF8: realloc (vg_replace_malloc.c:785) ==19840== by 0x147C3: defer_write (common.c:297) ==19840== by 0x18137: probe_client_protocol (probe.c:359) ==19840== by 0x13673: main_loop (sslh-select.c:405) ==19840== by 0x1757B: main (sslh-main.c:663) ==19840== ==19840== LEAK SUMMARY: ==19840== definitely lost: 60 bytes in 2 blocks ==19840== indirectly lost: 0 bytes in 0 blocks ==19840== possibly lost: 0 bytes in 0 blocks ==19840== still reachable: 695 bytes in 9 blocks ==19840== suppressed: 0 bytes in 0 blocks ==19840== Reachable blocks (those to which a pointer was found) are not shown. ==19840== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19840== ==19840== For counts of detected and suppressed errors, rerun with: -v ==19840== 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 ssh:connection from localhost:52838 to localhost:dynamid forwarded from localhost:59578 to localhost:cslistener ssl:connection from localhost:52840 to localhost:dynamid forwarded from localhost:59564 to localhost:etlservicemgr flushing deferred data to fd 5 ok 7 - SSL during SSH being established selecting... max_fd=8 num_probing=0 processing fd1 slot 1 activity on fd5 selecting... max_fd=8 num_probing=0 ok 8 - SSH connection interrupted by SSL processing fd0 slot 1 activity on fd6 closing fd 6 socket closed closing fd 5 selecting... max_fd=8 num_probing=0 connection closed down killing 19829 ==19842== ==19842== HEAP SUMMARY: ==19842== in use at exit: 767 bytes in 12 blocks ==19842== total heap usage: 216 allocs, 204 frees, 216,512 bytes allocated ==19842== ==19829== ==19829== HEAP SUMMARY: ==19829== in use at exit: 4,859 bytes in 13 blocks ==19829== total heap usage: 217 allocs, 204 frees, 216,528 bytes allocated ==19829== ==19842== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==19842== at 0x4849EF8: realloc (vg_replace_malloc.c:785) ==19842== by 0x147C3: defer_write (common.c:297) ==19842== by 0x18137: probe_client_protocol (probe.c:359) ==19842== by 0x13673: main_loop (sslh-select.c:405) ==19842== by 0x1757B: main (sslh-main.c:663) ==19842== ==19842== 42 bytes in 2 blocks are definitely lost in loss record 6 of 8 ==19842== at 0x4847448: malloc (vg_replace_malloc.c:298) ==19842== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==19842== by 0x147C3: defer_write (common.c:297) ==19842== by 0x18137: probe_client_protocol (probe.c:359) ==19842== by 0x13673: main_loop (sslh-select.c:405) ==19842== by 0x1757B: main (sslh-main.c:663) ==19842== ==19842== LEAK SUMMARY: ==19842== definitely lost: 72 bytes in 3 blocks ==19842== indirectly lost: 0 bytes in 0 blocks ==19842== possibly lost: 0 bytes in 0 blocks ==19842== still reachable: 695 bytes in 9 blocks ==19842== suppressed: 0 bytes in 0 blocks ==19842== Reachable blocks (those to which a pointer was found) are not shown. ==19842== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19842== ==19842== For counts of detected and suppressed errors, rerun with: -v ==19842== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==19829== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==19829== at 0x4849EF8: realloc (vg_replace_malloc.c:785) ==19829== by 0x147C3: defer_write (common.c:297) ==19829== by 0x18137: probe_client_protocol (probe.c:359) ==19829== by 0x13673: main_loop (sslh-select.c:405) ==19829== by 0x1757B: main (sslh-main.c:663) ==19829== ==19829== 42 bytes in 2 blocks are definitely lost in loss record 6 of 9 ==19829== at 0x4847448: malloc (vg_replace_malloc.c:298) ==19829== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==19829== by 0x147C3: defer_write (common.c:297) ==19829== by 0x18137: probe_client_protocol (probe.c:359) ==19829== by 0x13673: main_loop (sslh-select.c:405) ==19829== by 0x1757B: main (sslh-main.c:663) ==19829== ==19829== LEAK SUMMARY: ==19829== definitely lost: 72 bytes in 3 blocks ==19829== indirectly lost: 0 bytes in 0 blocks ==19829== possibly lost: 0 bytes in 0 blocks ==19829== still reachable: 4,787 bytes in 10 blocks ==19829== suppressed: 0 bytes in 0 blocks ==19829== Reachable blocks (those to which a pointer was found) are not shown. ==19829== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19829== ==19829== For counts of detected and suppressed errors, rerun with: -v ==19829== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 19846 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==19846== Memcheck, a memory error detector ==19846== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==19846== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==19846== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==19846== 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:52846 to localhost:dynamid forwarded from localhost:59570 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 ==19850== ==19850== HEAP SUMMARY: ==19850== in use at exit: 701 bytes in 10 blocks ==19850== total heap usage: 161 allocs, 151 frees, 123,174 bytes allocated ==19850== ==19850== LEAK SUMMARY: ==19850== definitely lost: 0 bytes in 0 blocks ==19850== indirectly lost: 0 bytes in 0 blocks ==19850== possibly lost: 0 bytes in 0 blocks ==19850== still reachable: 701 bytes in 10 blocks ==19850== suppressed: 0 bytes in 0 blocks ==19850== Reachable blocks (those to which a pointer was found) are not shown. ==19850== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19850== ==19850== For counts of detected and suppressed errors, rerun with: -v ==19850== 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:52850 to localhost:dynamid forwarded from localhost:59586 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 ==19852== ==19852== HEAP SUMMARY: ==19852== in use at exit: 701 bytes in 10 blocks ==19852== total heap usage: 160 allocs, 150 frees, 123,158 bytes allocated ==19852== ==19852== LEAK SUMMARY: ==19852== definitely lost: 0 bytes in 0 blocks ==19852== indirectly lost: 0 bytes in 0 blocks ==19852== possibly lost: 0 bytes in 0 blocks ==19852== still reachable: 701 bytes in 10 blocks ==19852== suppressed: 0 bytes in 0 blocks ==19852== Reachable blocks (those to which a pointer was found) are not shown. ==19852== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19852== ==19852== For counts of detected and suppressed errors, rerun with: -v ==19852== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:52854 to localhost:dynamid forwarded from localhost:59590 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 ==19854== ==19854== HEAP SUMMARY: ==19854== in use at exit: 701 bytes in 10 blocks ==19854== total heap usage: 161 allocs, 151 frees, 123,188 bytes allocated ==19854== ==19854== LEAK SUMMARY: ==19854== definitely lost: 0 bytes in 0 blocks ==19854== indirectly lost: 0 bytes in 0 blocks ==19854== possibly lost: 0 bytes in 0 blocks ==19854== still reachable: 701 bytes in 10 blocks ==19854== suppressed: 0 bytes in 0 blocks ==19854== Reachable blocks (those to which a pointer was found) are not shown. ==19854== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19854== ==19854== For counts of detected and suppressed errors, rerun with: -v ==19854== 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:52858 to localhost:dynamid forwarded from localhost:59596 to localhost:cslistener flushing deferred data to fd 3 ok 12 - Incomplete first SSH frame ***Test: One SSL half-started then one SSH server socket closed connection closed down accepted fd 5 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 ==19856== ==19856== HEAP SUMMARY: ==19856== in use at exit: 701 bytes in 10 blocks ==19856== total heap usage: 162 allocs, 152 frees, 123,190 bytes allocated ==19856== ==19856== LEAK SUMMARY: ==19856== definitely lost: 0 bytes in 0 blocks ==19856== indirectly lost: 0 bytes in 0 blocks ==19856== possibly lost: 0 bytes in 0 blocks ==19856== still reachable: 701 bytes in 10 blocks ==19856== suppressed: 0 bytes in 0 blocks ==19856== Reachable blocks (those to which a pointer was found) are not shown. ==19856== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19856== ==19856== For counts of detected and suppressed errors, rerun with: -v ==19856== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:52864 to localhost:dynamid forwarded from localhost:59590 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:52866 to localhost:dynamid forwarded from localhost:59604 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 connection closed down server socket closed connection closed down ==19859== ==19859== HEAP SUMMARY: ==19859== in use at exit: 701 bytes in 10 blocks ==19859== total heap usage: 160 allocs, 150 frees, 123,158 bytes allocated ==19859== ==19859== LEAK SUMMARY: ==19859== definitely lost: 0 bytes in 0 blocks ==19859== indirectly lost: 0 bytes in 0 blocks ==19859== possibly lost: 0 bytes in 0 blocks ==19859== still reachable: 701 bytes in 10 blocks ==19859== suppressed: 0 bytes in 0 blocks ==19859== Reachable blocks (those to which a pointer was found) are not shown. ==19859== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19859== ==19859== For counts of detected and suppressed errors, rerun with: -v ==19859== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==19858== ==19858== HEAP SUMMARY: ==19858== in use at exit: 701 bytes in 10 blocks ==19858== total heap usage: 161 allocs, 151 frees, 123,174 bytes allocated ==19858== ==19858== LEAK SUMMARY: ==19858== definitely lost: 0 bytes in 0 blocks ==19858== indirectly lost: 0 bytes in 0 blocks ==19858== possibly lost: 0 bytes in 0 blocks ==19858== still reachable: 701 bytes in 10 blocks ==19858== suppressed: 0 bytes in 0 blocks ==19858== Reachable blocks (those to which a pointer was found) are not shown. ==19858== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19858== ==19858== For counts of detected and suppressed errors, rerun with: -v ==19858== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) timed out, connect to ssh connecting to localhost:cslistener family 10 len 28 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 ssh:connection from localhost:52872 to localhost:dynamid forwarded from localhost:59608 to localhost:cslistener flushing deferred data to fd 3 connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:52876 to localhost:dynamid forwarded from localhost:59600 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 connection closed down killing 19846 server socket closed connection closed down ==19864== ==19864== HEAP SUMMARY: ==19864== in use at exit: 701 bytes in 10 blocks ==19864== total heap usage: 161 allocs, 151 frees, 123,174 bytes allocated ==19864== ==19864== LEAK SUMMARY: ==19864== definitely lost: 0 bytes in 0 blocks ==19864== indirectly lost: 0 bytes in 0 blocks ==19864== possibly lost: 0 bytes in 0 blocks ==19864== still reachable: 701 bytes in 10 blocks ==19847== ==19847== HEAP SUMMARY: ==19847== in use at exit: 701 bytes in 10 blocks ==19847== total heap usage: 133 allocs, 123 frees, 78,558 bytes allocated ==19847== ==19864== suppressed: 0 bytes in 0 blocks ==19864== Reachable blocks (those to which a pointer was found) are not shown. ==19864== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19847== LEAK SUMMARY: ==19847== definitely lost: 0 bytes in 0 blocks ==19847== indirectly lost: 0 bytes in 0 blocks ==19847== possibly lost: 0 bytes in 0 blocks ==19847== still reachable: 701 bytes in 10 blocks ==19847== suppressed: 0 bytes in 0 blocks ==19847== Reachable blocks (those to which a pointer was found) are not shown. ==19847== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19847== ==19847== For counts of detected and suppressed errors, rerun with: -v ==19847== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==19864== ==19864== For counts of detected and suppressed errors, rerun with: -v ==19864== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==19862== ==19862== HEAP SUMMARY: ==19862== in use at exit: 701 bytes in 10 blocks ==19862== total heap usage: 160 allocs, 150 frees, 123,158 bytes allocated ==19862== ==19862== LEAK SUMMARY: ==19862== definitely lost: 0 bytes in 0 blocks ==19862== indirectly lost: 0 bytes in 0 blocks ==19862== possibly lost: 0 bytes in 0 blocks ==19862== still reachable: 701 bytes in 10 blocks ==19862== suppressed: 0 bytes in 0 blocks ==19862== Reachable blocks (those to which a pointer was found) are not shown. ==19862== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19862== ==19862== For counts of detected and suppressed errors, rerun with: -v ==19862== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==19846== ==19846== HEAP SUMMARY: ==19846== in use at exit: 701 bytes in 10 blocks ==19846== total heap usage: 133 allocs, 123 frees, 78,558 bytes allocated ==19846== ==19848== ==19848== HEAP SUMMARY: ==19848== in use at exit: 701 bytes in 10 blocks ==19848== total heap usage: 133 allocs, 123 frees, 78,558 bytes allocated ==19848== ==19846== 8 bytes in 1 blocks are definitely lost in loss record 2 of 7 ==19846== at 0x4847540: malloc (vg_replace_malloc.c:299) ==19846== by 0x12553: start_listen_sockets (common.c:122) ==19846== by 0x15BD3: main (sslh-main.c:630) ==19846== ==19846== LEAK SUMMARY: ==19846== definitely lost: 8 bytes in 1 blocks ==19846== indirectly lost: 0 bytes in 0 blocks ==19846== possibly lost: 0 bytes in 0 blocks ==19846== still reachable: 693 bytes in 9 blocks ==19846== suppressed: 0 bytes in 0 blocks ==19846== Reachable blocks (those to which a pointer was found) are not shown. ==19846== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19846== ==19846== For counts of detected and suppressed errors, rerun with: -v ==19846== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==19848== LEAK SUMMARY: ==19848== definitely lost: 0 bytes in 0 blocks ==19848== indirectly lost: 0 bytes in 0 blocks ==19848== possibly lost: 0 bytes in 0 blocks ==19848== still reachable: 701 bytes in 10 blocks ==19848== suppressed: 0 bytes in 0 blocks ==19848== Reachable blocks (those to which a pointer was found) are not shown. ==19848== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==19848== ==19848== For counts of detected and suppressed errors, rerun with: -v ==19848== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 19867 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 19869 9002: names must be fully specified as hostname:port exited with 1 ok 17 - Exit status on illegal option ***Test: Changing to non-existant username spawned 19870 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 19871 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 19872 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.fc29.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4SE01x + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/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.arm/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tUcbmh + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/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.arm/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-1.fc29 sslh = 1.19c-1.fc29 sslh(armv7hl-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.4) 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.armv7hl Provides: sslh-debugsource = 1.19c-1.fc29 sslh-debugsource(armv7hl-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.armv7hl Provides: debuginfo(build-id) = a5f64c99547f93a4bf81539d229ab7bee5fa2f9a debuginfo(build-id) = e2a46d9f05ade0ad28b21f20770ad71ca21eca49 sslh-debuginfo = 1.19c-1.fc29 sslh-debuginfo(armv7hl-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(armv7hl-32) = 1.19c-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm Wrote: /builddir/build/RPMS/sslh-1.19c-1.fc29.armv7hl.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-1.fc29.armv7hl.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-1.fc29.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.j0ddrB + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc29.arm + exit 0 Child return code was: 0