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/f28-build-12168421-895281/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.fc28.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/f28-build-12168421-895281/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.tlOIhZ + 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.qxCrvR + 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.gHyelZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.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.fc28 --unique-debug-suffix -1.19c-1.fc28.arm --unique-debug-src-base sslh-1.19c-1.fc28.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.fc28.arm/usr/sbin/sslh-select extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/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-1.fc28.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.sjpQCk + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 20730 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==20730== Memcheck, a memory error detector ==20730== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==20730== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==20730== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==20730== 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:52942 to localhost:dynamid forwarded from localhost:59666 to localhost:etlservicemgr flushing deferred data to fd 6 selecting... max_fd=7 num_probing=0 processing fd1 slot 0 activity on fd6 ok 1 - SSL connection ***Test: Shy SSH connection selecting... max_fd=7 num_probing=0 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:52946 to localhost:dynamid forwarded from localhost:59682 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 ==20734== ==20734== HEAP SUMMARY: ==20734== in use at exit: 695 bytes in 9 blocks ==20734== total heap usage: 186 allocs, 177 frees, 171,834 bytes allocated ==20734== ==20734== LEAK SUMMARY: ==20734== definitely lost: 0 bytes in 0 blocks ==20734== indirectly lost: 0 bytes in 0 blocks ==20734== possibly lost: 0 bytes in 0 blocks ==20734== still reachable: 695 bytes in 9 blocks ==20734== suppressed: 0 bytes in 0 blocks ==20734== Reachable blocks (those to which a pointer was found) are not shown. ==20734== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20734== ==20734== For counts of detected and suppressed errors, rerun with: -v ==20734== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:52950 to localhost:dynamid forwarded from localhost:59686 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 connection closed down selecting... max_fd=7 num_probing=1 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 ==20736== ==20736== HEAP SUMMARY: ==20736== in use at exit: 695 bytes in 9 blocks ==20736== total heap usage: 187 allocs, 178 frees, 171,864 bytes allocated ==20736== ==20736== LEAK SUMMARY: ==20736== definitely lost: 0 bytes in 0 blocks ==20736== indirectly lost: 0 bytes in 0 blocks ==20736== possibly lost: 0 bytes in 0 blocks ==20736== still reachable: 695 bytes in 9 blocks ==20736== suppressed: 0 bytes in 0 blocks ==20736== Reachable blocks (those to which a pointer was found) are not shown. ==20736== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20736== ==20736== For counts of detected and suppressed errors, rerun with: -v ==20736== 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:52954 to localhost:dynamid forwarded from localhost:59690 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 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 ==20738== ==20738== HEAP SUMMARY: ==20738== in use at exit: 725 bytes in 10 blocks ==20738== total heap usage: 189 allocs, 179 frees, 171,896 bytes allocated ==20738== ==20738== 30 bytes in 1 blocks are definitely lost in loss record 3 of 7 ==20738== at 0x4847448: malloc (vg_replace_malloc.c:298) ==20738== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==20738== by 0x147C3: defer_write (common.c:297) ==20738== by 0x18137: probe_client_protocol (probe.c:359) ==20738== by 0x13673: main_loop (sslh-select.c:405) ==20738== by 0x1757B: main (sslh-main.c:663) ==20738== ==20738== LEAK SUMMARY: ==20738== definitely lost: 30 bytes in 1 blocks ==20738== indirectly lost: 0 bytes in 0 blocks ==20738== possibly lost: 0 bytes in 0 blocks ==20738== still reachable: 695 bytes in 9 blocks ==20738== suppressed: 0 bytes in 0 blocks ==20738== Reachable blocks (those to which a pointer was found) are not shown. ==20738== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20738== ==20738== For counts of detected and suppressed errors, rerun with: -v ==20738== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:52958 to localhost:dynamid forwarded from localhost:59684 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 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:52960 to localhost:dynamid forwarded from localhost:59700 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 connection closed down selecting... max_fd=8 num_probing=0 accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 ==20741== ==20741== HEAP SUMMARY: ==20741== in use at exit: 755 bytes in 11 blocks ==20741== total heap usage: 215 allocs, 204 frees, 216,492 bytes allocated ==20741== ==20741== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==20741== at 0x4847448: malloc (vg_replace_malloc.c:298) ==20741== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==20741== by 0x147C3: defer_write (common.c:297) ==20741== by 0x18137: probe_client_protocol (probe.c:359) ==20741== by 0x13673: main_loop (sslh-select.c:405) ==20741== by 0x1757B: main (sslh-main.c:663) ==20741== ==20741== 30 bytes in 1 blocks are definitely lost in loss record 4 of 8 ==20741== at 0x4849EF8: realloc (vg_replace_malloc.c:785) ==20741== by 0x147C3: defer_write (common.c:297) ==20741== by 0x18137: probe_client_protocol (probe.c:359) ==20741== by 0x13673: main_loop (sslh-select.c:405) ==20741== by 0x1757B: main (sslh-main.c:663) ==20741== ==20741== LEAK SUMMARY: ==20741== definitely lost: 60 bytes in 2 blocks ==20741== indirectly lost: 0 bytes in 0 blocks ==20741== possibly lost: 0 bytes in 0 blocks ==20741== still reachable: 695 bytes in 9 blocks ==20741== suppressed: 0 bytes in 0 blocks ==20741== Reachable blocks (those to which a pointer was found) are not shown. ==20741== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20741== ==20741== For counts of detected and suppressed errors, rerun with: -v ==20741== 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:52970 to localhost:dynamid forwarded from localhost:59694 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:52968 to localhost:dynamid forwarded from localhost:59708 to localhost:cslistener 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 20730 ==20744== ==20744== HEAP SUMMARY: ==20744== in use at exit: 755 bytes in 11 blocks ==20744== total heap usage: 215 allocs, 204 frees, 216,492 bytes allocated ==20744== ==20744== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==20744== at 0x4847448: malloc (vg_replace_malloc.c:298) ==20744== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==20744== by 0x147C3: defer_write (common.c:297) ==20744== by 0x18137: probe_client_protocol (probe.c:359) ==20744== by 0x13673: main_loop (sslh-select.c:405) ==20744== by 0x1757B: main (sslh-main.c:663) ==20744== ==20744== 30 bytes in 1 blocks are definitely lost in loss record 4 of 8 ==20744== at 0x4849EF8: realloc (vg_replace_malloc.c:785) ==20744== by 0x147C3: defer_write (common.c:297) ==20744== by 0x18137: probe_client_protocol (probe.c:359) ==20744== by 0x13673: main_loop (sslh-select.c:405) ==20744== by 0x1757B: main (sslh-main.c:663) ==20744== ==20744== LEAK SUMMARY: ==20744== definitely lost: 60 bytes in 2 blocks ==20744== indirectly lost: 0 bytes in 0 blocks ==20744== possibly lost: 0 bytes in 0 blocks ==20744== still reachable: 695 bytes in 9 blocks ==20744== suppressed: 0 bytes in 0 blocks ==20744== Reachable blocks (those to which a pointer was found) are not shown. ==20744== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20744== ==20744== For counts of detected and suppressed errors, rerun with: -v ==20744== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==20730== ==20730== HEAP SUMMARY: ==20730== in use at exit: 4,847 bytes in 12 blocks ==20730== total heap usage: 216 allocs, 204 frees, 216,508 bytes allocated ==20730== ==20730== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==20730== at 0x4847448: malloc (vg_replace_malloc.c:298) ==20730== by 0x4849F47: realloc (vg_replace_malloc.c:785) ==20730== by 0x147C3: defer_write (common.c:297) ==20730== by 0x18137: probe_client_protocol (probe.c:359) ==20730== by 0x13673: main_loop (sslh-select.c:405) ==20730== by 0x1757B: main (sslh-main.c:663) ==20730== ==20730== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==20730== at 0x4849EF8: realloc (vg_replace_malloc.c:785) ==20730== by 0x147C3: defer_write (common.c:297) ==20730== by 0x18137: probe_client_protocol (probe.c:359) ==20730== by 0x13673: main_loop (sslh-select.c:405) ==20730== by 0x1757B: main (sslh-main.c:663) ==20730== ==20730== LEAK SUMMARY: ==20730== definitely lost: 60 bytes in 2 blocks ==20730== indirectly lost: 0 bytes in 0 blocks ==20730== possibly lost: 0 bytes in 0 blocks ==20730== still reachable: 4,787 bytes in 10 blocks ==20730== suppressed: 0 bytes in 0 blocks ==20730== Reachable blocks (those to which a pointer was found) are not shown. ==20730== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20730== ==20730== For counts of detected and suppressed errors, rerun with: -v ==20730== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 20748 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==20748== Memcheck, a memory error detector ==20748== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==20748== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==20748== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==20748== 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:52976 to localhost:dynamid forwarded from localhost:59700 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 ==20751== ==20751== HEAP SUMMARY: ==20751== in use at exit: 701 bytes in 10 blocks ==20751== total heap usage: 161 allocs, 151 frees, 123,166 bytes allocated ==20751== ==20751== LEAK SUMMARY: ==20751== definitely lost: 0 bytes in 0 blocks ==20751== indirectly lost: 0 bytes in 0 blocks ==20751== possibly lost: 0 bytes in 0 blocks ==20751== still reachable: 701 bytes in 10 blocks ==20751== suppressed: 0 bytes in 0 blocks ==20751== Reachable blocks (those to which a pointer was found) are not shown. ==20751== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20751== ==20751== For counts of detected and suppressed errors, rerun with: -v ==20751== 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:52980 to localhost:dynamid forwarded from localhost:59716 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 ==20753== ==20753== HEAP SUMMARY: ==20753== in use at exit: 701 bytes in 10 blocks ==20753== total heap usage: 160 allocs, 150 frees, 123,150 bytes allocated ==20753== ==20753== LEAK SUMMARY: ==20753== definitely lost: 0 bytes in 0 blocks ==20753== indirectly lost: 0 bytes in 0 blocks ==20753== possibly lost: 0 bytes in 0 blocks ==20753== still reachable: 701 bytes in 10 blocks ==20753== suppressed: 0 bytes in 0 blocks ==20753== Reachable blocks (those to which a pointer was found) are not shown. ==20753== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20753== ==20753== For counts of detected and suppressed errors, rerun with: -v ==20753== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:52984 to localhost:dynamid forwarded from localhost:59720 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 ==20755== ==20755== HEAP SUMMARY: ==20755== in use at exit: 701 bytes in 10 blocks ==20755== total heap usage: 161 allocs, 151 frees, 123,180 bytes allocated ==20755== ==20755== LEAK SUMMARY: ==20755== definitely lost: 0 bytes in 0 blocks ==20755== indirectly lost: 0 bytes in 0 blocks ==20755== possibly lost: 0 bytes in 0 blocks ==20755== still reachable: 701 bytes in 10 blocks ==20755== suppressed: 0 bytes in 0 blocks ==20755== Reachable blocks (those to which a pointer was found) are not shown. ==20755== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20755== ==20755== For counts of detected and suppressed errors, rerun with: -v ==20755== 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:52988 to localhost:dynamid forwarded from localhost:59724 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 accepted fd 5 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 ==20757== ==20757== HEAP SUMMARY: ==20757== in use at exit: 701 bytes in 10 blocks ==20757== total heap usage: 162 allocs, 152 frees, 123,182 bytes allocated ==20757== ==20757== LEAK SUMMARY: ==20757== definitely lost: 0 bytes in 0 blocks ==20757== indirectly lost: 0 bytes in 0 blocks ==20757== possibly lost: 0 bytes in 0 blocks ==20757== still reachable: 701 bytes in 10 blocks ==20757== suppressed: 0 bytes in 0 blocks ==20757== Reachable blocks (those to which a pointer was found) are not shown. ==20757== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20757== ==20757== For counts of detected and suppressed errors, rerun with: -v ==20757== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:52992 to localhost:dynamid forwarded from localhost:59720 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:52994 to localhost:dynamid forwarded from localhost:59734 to localhost:cslistener flushing deferred data to fd 3 ok 13 - SSH during SSL being established ok 14 - SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL server socket closed server socket closed accepted fd 5 connection closed down connection closed down ==20759== ==20760== ==20760== HEAP SUMMARY: ==20760== in use at exit: 701 bytes in 10 blocks ==20760== total heap usage: 160 allocs, 150 frees, 123,150 bytes allocated ==20760== ==20759== HEAP SUMMARY: ==20759== in use at exit: 701 bytes in 10 blocks ==20759== total heap usage: 161 allocs, 151 frees, 123,166 bytes allocated ==20759== ==20759== LEAK SUMMARY: ==20760== LEAK SUMMARY: ==20759== definitely lost: 0 bytes in 0 blocks ==20760== definitely lost: 0 bytes in 0 blocks ==20759== indirectly lost: 0 bytes in 0 blocks ==20760== indirectly lost: 0 bytes in 0 blocks ==20759== possibly lost: 0 bytes in 0 blocks ==20760== possibly lost: 0 bytes in 0 blocks ==20759== still reachable: 701 bytes in 10 blocks ==20760== still reachable: 701 bytes in 10 blocks ==20759== suppressed: 0 bytes in 0 blocks ==20760== suppressed: 0 bytes in 0 blocks ==20759== Reachable blocks (those to which a pointer was found) are not shown. ==20760== Reachable blocks (those to which a pointer was found) are not shown. ==20759== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20760== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20759== ==20760== ==20759== For counts of detected and suppressed errors, rerun with: -v ==20760== For counts of detected and suppressed errors, rerun with: -v ==20759== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==20760== 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:53002 to localhost:dynamid forwarded from localhost:59738 to localhost:cslistener flushing deferred data to fd 3 connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:53006 to localhost:dynamid forwarded from localhost:59730 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 20748 server socket closed connection closed down ==20765== ==20765== HEAP SUMMARY: ==20765== in use at exit: 701 bytes in 10 blocks ==20765== total heap usage: 161 allocs, 151 frees, 123,166 bytes allocated ==20765== ==20763== ==20763== HEAP SUMMARY: ==20763== in use at exit: 701 bytes in 10 blocks ==20763== total heap usage: 160 allocs, 150 frees, 123,150 bytes allocated ==20763== ==20765== LEAK SUMMARY: ==20765== definitely lost: 0 bytes in 0 blocks ==20765== indirectly lost: 0 bytes in 0 blocks ==20765== possibly lost: 0 bytes in 0 blocks ==20765== still reachable: 701 bytes in 10 blocks ==20763== LEAK SUMMARY: ==20763== definitely lost: 0 bytes in 0 blocks ==20763== indirectly lost: 0 bytes in 0 blocks ==20763== possibly lost: 0 bytes in 0 blocks ==20763== still reachable: 701 bytes in 10 blocks ==20763== suppressed: 0 bytes in 0 blocks ==20763== Reachable blocks (those to which a pointer was found) are not shown. ==20763== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20763== ==20763== For counts of detected and suppressed errors, rerun with: -v ==20763== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==20749== ==20749== HEAP SUMMARY: ==20749== in use at exit: 701 bytes in 10 blocks ==20749== total heap usage: 133 allocs, 123 frees, 78,550 bytes allocated ==20749== ==20765== suppressed: 0 bytes in 0 blocks ==20765== Reachable blocks (those to which a pointer was found) are not shown. ==20765== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20765== ==20765== For counts of detected and suppressed errors, rerun with: -v ==20765== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==20749== LEAK SUMMARY: ==20749== definitely lost: 0 bytes in 0 blocks ==20749== indirectly lost: 0 bytes in 0 blocks ==20749== possibly lost: 0 bytes in 0 blocks ==20749== still reachable: 701 bytes in 10 blocks ==20749== suppressed: 0 bytes in 0 blocks ==20749== Reachable blocks (those to which a pointer was found) are not shown. ==20749== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20749== ==20749== For counts of detected and suppressed errors, rerun with: -v ==20749== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==20748== ==20750== ==20750== HEAP SUMMARY: ==20750== in use at exit: 701 bytes in 10 blocks ==20750== total heap usage: 133 allocs, 123 frees, 78,550 bytes allocated ==20750== ==20748== HEAP SUMMARY: ==20748== in use at exit: 701 bytes in 10 blocks ==20748== total heap usage: 133 allocs, 123 frees, 78,550 bytes allocated ==20748== ==20748== 8 bytes in 1 blocks are definitely lost in loss record 2 of 7 ==20750== LEAK SUMMARY: ==20750== definitely lost: 0 bytes in 0 blocks ==20750== indirectly lost: 0 bytes in 0 blocks ==20750== possibly lost: 0 bytes in 0 blocks ==20750== still reachable: 701 bytes in 10 blocks ==20750== suppressed: 0 bytes in 0 blocks ==20750== Reachable blocks (those to which a pointer was found) are not shown. ==20750== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20750== ==20748== at 0x4847540: malloc (vg_replace_malloc.c:299) ==20750== For counts of detected and suppressed errors, rerun with: -v ==20750== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==20748== by 0x12553: start_listen_sockets (common.c:122) ==20748== by 0x15BD3: main (sslh-main.c:630) ==20748== ==20748== LEAK SUMMARY: ==20748== definitely lost: 8 bytes in 1 blocks ==20748== indirectly lost: 0 bytes in 0 blocks ==20748== possibly lost: 0 bytes in 0 blocks ==20748== still reachable: 693 bytes in 9 blocks ==20748== suppressed: 0 bytes in 0 blocks ==20748== Reachable blocks (those to which a pointer was found) are not shown. ==20748== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==20748== ==20748== For counts of detected and suppressed errors, rerun with: -v ==20748== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 20768 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 20770 9002: names must be fully specified as hostname:port ok 17 - Exit status on illegal option ***Test: Changing to non-existant username exited with 1 spawned 20771 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 20772 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 20773 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.fc28.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O9qlOA + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc28.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.fc28.arm/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2np1rS + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc28.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.fc28.arm/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-1.fc28 sslh = 1.19c-1.fc28 sslh(armv7hl-32) = 1.19c-1.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 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.fc28.armv7hl Provides: sslh-debugsource = 1.19c-1.fc28 sslh-debugsource(armv7hl-32) = 1.19c-1.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-1.fc28.armv7hl Provides: debuginfo(build-id) = 55118349049f13f59978c984b678c89e866d8a25 debuginfo(build-id) = d5353c53f87afebe014fad62fd1582798c114ff0 sslh-debuginfo = 1.19c-1.fc28 sslh-debuginfo(armv7hl-32) = 1.19c-1.fc28 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.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm Wrote: /builddir/build/RPMS/sslh-1.19c-1.fc28.armv7hl.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-1.fc28.armv7hl.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-1.fc28.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gSh0SQ + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.arm + exit 0 Child return code was: 0