Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f29-build-13178038-960179/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/sslh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/sslh-1.19c-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f29-build-13178038-960179/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/sslh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UHFdcA + 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.fre5ST + 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 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.9eDoce + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386 ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386 + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/lib/systemd/system/sslh.service + cat + cat + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 1.19c-3.fc29 --unique-debug-suffix -1.19c-3.fc29.i386 --unique-debug-src-base sslh-1.19c-3.fc29.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/sbin/sslh extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/sbin/sslh-select /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 185 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sgrFqz + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 14014 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==14014== Memcheck, a memory error detector ==14014== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==14014== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==14014== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==14014== 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:33164 to localhost:dynamid forwarded from localhost:58748 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:33168 to localhost:dynamid forwarded from localhost:56374 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 processing fd0 slot 0 hexdump of incoming packet: 0x000000: 53 53 48 2d 32 2e 30 20 74 connection closed down 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 ==14025== ==14025== HEAP SUMMARY: ==14025== in use at exit: 695 bytes in 9 blocks ==14025== total heap usage: 183 allocs, 174 frees, 171,474 bytes allocated ==14025== ==14025== LEAK SUMMARY: ==14025== definitely lost: 0 bytes in 0 blocks ==14025== indirectly lost: 0 bytes in 0 blocks ==14025== possibly lost: 0 bytes in 0 blocks ==14025== still reachable: 695 bytes in 9 blocks ==14025== suppressed: 0 bytes in 0 blocks ==14025== Reachable blocks (those to which a pointer was found) are not shown. ==14025== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14025== ==14025== For counts of detected and suppressed errors, rerun with: -v ==14025== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:33172 to localhost:dynamid forwarded from localhost:56378 to localhost:cslistener flushing deferred data to fd 4 ok 3 - Bold SSH connection ***Test: incomplete SSH first frame 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: 53 53 SS **** writing deferred on fd -1 probing for ssh selecting... max_fd=7 num_probing=1 ==14027== ==14027== HEAP SUMMARY: ==14027== in use at exit: 695 bytes in 9 blocks ==14027== total heap usage: 184 allocs, 175 frees, 171,504 bytes allocated ==14027== ==14027== LEAK SUMMARY: ==14027== definitely lost: 0 bytes in 0 blocks ==14027== indirectly lost: 0 bytes in 0 blocks ==14027== possibly lost: 0 bytes in 0 blocks ==14027== still reachable: 695 bytes in 9 blocks ==14027== suppressed: 0 bytes in 0 blocks ==14027== Reachable blocks (those to which a pointer was found) are not shown. ==14027== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14027== ==14027== For counts of detected and suppressed errors, rerun with: -v ==14027== 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:33176 to localhost:dynamid forwarded from localhost:56382 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 ==14029== ==14029== HEAP SUMMARY: ==14029== in use at exit: 725 bytes in 10 blocks ==14029== total heap usage: 186 allocs, 176 frees, 171,536 bytes allocated ==14029== ==14029== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==14029== at 0x403355D: malloc (vg_replace_malloc.c:298) ==14029== by 0x4035526: realloc (vg_replace_malloc.c:785) ==14029== by 0x804C752: defer_write (common.c:297) ==14029== by 0x804F1DF: probe_client_protocol (probe.c:359) ==14029== by 0x804BA65: main_loop (sslh-select.c:405) ==14029== by 0x804EA2F: main (sslh-main.c:663) ==14029== ==14029== LEAK SUMMARY: ==14029== definitely lost: 30 bytes in 1 blocks ==14029== indirectly lost: 0 bytes in 0 blocks ==14029== possibly lost: 0 bytes in 0 blocks ==14029== still reachable: 695 bytes in 9 blocks ==14029== suppressed: 0 bytes in 0 blocks ==14029== Reachable blocks (those to which a pointer was found) are not shown. ==14029== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14029== ==14029== For counts of detected and suppressed errors, rerun with: -v ==14029== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:33180 to localhost:dynamid forwarded from localhost:58766 to localhost:etlservicemgr flushing deferred data to fd 7 selecting... max_fd=8 num_probing=1 processing fd1 slot 0 activity on fd7 selecting... max_fd=8 num_probing=1 selecting... max_fd=8 num_probing=1 processing fd0 slot 1 timed out, connect to ssh closing fd 6 selecting... max_fd=8 num_probing=0 connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:33182 to localhost:dynamid forwarded from localhost:56390 to localhost:cslistener ok 5 - SSH during SSL being established ok 6 - SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 7 selecting... max_fd=8 num_probing=0 socket closed accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 connection closed down ==14032== ==14032== HEAP SUMMARY: ==14032== in use at exit: 755 bytes in 11 blocks ==14032== total heap usage: 212 allocs, 201 frees, 216,052 bytes allocated ==14032== ==14032== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==14032== at 0x403355D: malloc (vg_replace_malloc.c:298) ==14032== by 0x4035526: realloc (vg_replace_malloc.c:785) ==14032== by 0x804C752: defer_write (common.c:297) ==14032== by 0x804F1DF: probe_client_protocol (probe.c:359) ==14032== by 0x804BA65: main_loop (sslh-select.c:405) ==14032== by 0x804EA2F: main (sslh-main.c:663) ==14032== ==14032== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==14032== at 0x40354E5: realloc (vg_replace_malloc.c:785) ==14032== by 0x804C752: defer_write (common.c:297) ==14032== by 0x804F1DF: probe_client_protocol (probe.c:359) ==14032== by 0x804BA65: main_loop (sslh-select.c:405) ==14032== by 0x804EA2F: main (sslh-main.c:663) ==14032== ==14032== LEAK SUMMARY: ==14032== definitely lost: 60 bytes in 2 blocks ==14032== indirectly lost: 0 bytes in 0 blocks ==14032== possibly lost: 0 bytes in 0 blocks ==14032== still reachable: 695 bytes in 9 blocks ==14032== suppressed: 0 bytes in 0 blocks ==14032== Reachable blocks (those to which a pointer was found) are not shown. ==14032== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14032== ==14032== For counts of detected and suppressed errors, rerun with: -v ==14032== 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:33190 to localhost:dynamid forwarded from localhost:58774 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:33188 to localhost:dynamid forwarded from localhost:56398 to localhost:cslistener ok 8 - SSH connection interrupted by SSL processing fd0 slot 1 socket closed activity on fd6 connection closed down closing fd 6 closing fd 5 selecting... max_fd=8 num_probing=0 killing 14014 ==14034== ==14034== HEAP SUMMARY: ==14034== in use at exit: 755 bytes in 11 blocks ==14034== total heap usage: 212 allocs, 201 frees, 216,052 bytes allocated ==14034== ==14034== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==14034== at 0x403355D: malloc (vg_replace_malloc.c:298) ==14034== by 0x4035526: realloc (vg_replace_malloc.c:785) ==14034== by 0x804C752: defer_write (common.c:297) ==14034== by 0x804F1DF: probe_client_protocol (probe.c:359) ==14034== by 0x804BA65: main_loop (sslh-select.c:405) ==14034== by 0x804EA2F: main (sslh-main.c:663) ==14034== ==14034== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==14034== at 0x40354E5: realloc (vg_replace_malloc.c:785) ==14034== by 0x804C752: defer_write (common.c:297) ==14034== by 0x804F1DF: probe_client_protocol (probe.c:359) ==14034== by 0x804BA65: main_loop (sslh-select.c:405) ==14034== by 0x804EA2F: main (sslh-main.c:663) ==14034== ==14034== LEAK SUMMARY: ==14034== definitely lost: 60 bytes in 2 blocks ==14034== indirectly lost: 0 bytes in 0 blocks ==14034== possibly lost: 0 bytes in 0 blocks ==14034== still reachable: 695 bytes in 9 blocks ==14034== suppressed: 0 bytes in 0 blocks ==14034== Reachable blocks (those to which a pointer was found) are not shown. ==14034== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14034== ==14034== For counts of detected and suppressed errors, rerun with: -v ==14034== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==14014== ==14014== HEAP SUMMARY: ==14014== in use at exit: 4,847 bytes in 12 blocks ==14014== total heap usage: 213 allocs, 201 frees, 216,068 bytes allocated ==14014== ==14014== 30 bytes in 1 blocks are definitely lost in loss record 3 of 10 ==14014== at 0x403355D: malloc (vg_replace_malloc.c:298) ==14014== by 0x4035526: realloc (vg_replace_malloc.c:785) ==14014== by 0x804C752: defer_write (common.c:297) ==14014== by 0x804F1DF: probe_client_protocol (probe.c:359) ==14014== by 0x804BA65: main_loop (sslh-select.c:405) ==14014== by 0x804EA2F: main (sslh-main.c:663) ==14014== ==14014== 30 bytes in 1 blocks are definitely lost in loss record 4 of 10 ==14014== at 0x40354E5: realloc (vg_replace_malloc.c:785) ==14014== by 0x804C752: defer_write (common.c:297) ==14014== by 0x804F1DF: probe_client_protocol (probe.c:359) ==14014== by 0x804BA65: main_loop (sslh-select.c:405) ==14014== by 0x804EA2F: main (sslh-main.c:663) ==14014== ==14014== LEAK SUMMARY: ==14014== definitely lost: 60 bytes in 2 blocks ==14014== indirectly lost: 0 bytes in 0 blocks ==14014== possibly lost: 0 bytes in 0 blocks ==14014== still reachable: 4,787 bytes in 10 blocks ==14014== suppressed: 0 bytes in 0 blocks ==14014== Reachable blocks (those to which a pointer was found) are not shown. ==14014== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14014== ==14014== For counts of detected and suppressed errors, rerun with: -v ==14014== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 14038 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==14038== Memcheck, a memory error detector ==14038== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==14038== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==14038== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==14038== 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:33198 to localhost:dynamid forwarded from localhost:58782 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 ==14042== ==14042== HEAP SUMMARY: ==14042== in use at exit: 701 bytes in 10 blocks ==14042== total heap usage: 158 allocs, 148 frees, 122,886 bytes allocated ==14042== ==14042== LEAK SUMMARY: ==14042== definitely lost: 0 bytes in 0 blocks ==14042== indirectly lost: 0 bytes in 0 blocks ==14042== possibly lost: 0 bytes in 0 blocks ==14042== still reachable: 701 bytes in 10 blocks ==14042== suppressed: 0 bytes in 0 blocks ==14042== Reachable blocks (those to which a pointer was found) are not shown. ==14042== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14042== ==14042== For counts of detected and suppressed errors, rerun with: -v ==14042== 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:33202 to localhost:dynamid forwarded from localhost:56408 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 ==14044== ==14044== HEAP SUMMARY: ==14044== in use at exit: 701 bytes in 10 blocks ==14044== total heap usage: 157 allocs, 147 frees, 122,870 bytes allocated ==14044== ==14044== LEAK SUMMARY: ==14044== definitely lost: 0 bytes in 0 blocks ==14044== indirectly lost: 0 bytes in 0 blocks ==14044== possibly lost: 0 bytes in 0 blocks ==14044== still reachable: 701 bytes in 10 blocks ==14044== suppressed: 0 bytes in 0 blocks ==14044== Reachable blocks (those to which a pointer was found) are not shown. ==14044== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14044== ==14044== For counts of detected and suppressed errors, rerun with: -v ==14044== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:33206 to localhost:dynamid forwarded from localhost:56412 to localhost:cslistener flushing deferred data to fd 3 ok 11 - Bold SSH connection ***Test: incomplete SSH first frame server socket closed accepted fd 5 connection closed down hexdump of incoming packet: 0x000000: 53 53 SS **** writing deferred on fd -1 probing for ssh ==14046== ==14046== HEAP SUMMARY: ==14046== in use at exit: 701 bytes in 10 blocks ==14046== total heap usage: 158 allocs, 148 frees, 122,900 bytes allocated ==14046== ==14046== LEAK SUMMARY: ==14046== definitely lost: 0 bytes in 0 blocks ==14046== indirectly lost: 0 bytes in 0 blocks ==14046== possibly lost: 0 bytes in 0 blocks ==14046== still reachable: 701 bytes in 10 blocks ==14046== suppressed: 0 bytes in 0 blocks ==14046== Reachable blocks (those to which a pointer was found) are not shown. ==14046== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14046== ==14046== For counts of detected and suppressed errors, rerun with: -v ==14046== 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:33210 to localhost:dynamid forwarded from localhost:56416 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 accepted fd 5 connection closed down hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl ==14048== ==14048== HEAP SUMMARY: ==14048== in use at exit: 701 bytes in 10 blocks ==14048== total heap usage: 159 allocs, 149 frees, 122,902 bytes allocated ==14048== ==14048== LEAK SUMMARY: ==14048== definitely lost: 0 bytes in 0 blocks ==14048== indirectly lost: 0 bytes in 0 blocks ==14048== possibly lost: 0 bytes in 0 blocks ==14048== still reachable: 701 bytes in 10 blocks ==14048== suppressed: 0 bytes in 0 blocks ==14048== Reachable blocks (those to which a pointer was found) are not shown. ==14048== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14048== ==14048== For counts of detected and suppressed errors, rerun with: -v ==14048== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:33214 to localhost:dynamid forwarded from localhost:58800 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:33216 to localhost:dynamid forwarded from localhost:56424 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 connection closed down server socket closed connection closed down accepted fd 5 ==14051== ==14051== HEAP SUMMARY: ==14051== in use at exit: 701 bytes in 10 blocks ==14051== total heap usage: 157 allocs, 147 frees, 122,870 bytes allocated ==14051== ==14051== LEAK SUMMARY: ==14051== definitely lost: 0 bytes in 0 blocks ==14051== indirectly lost: 0 bytes in 0 blocks ==14051== possibly lost: 0 bytes in 0 blocks ==14051== still reachable: 701 bytes in 10 blocks ==14051== suppressed: 0 bytes in 0 blocks ==14051== Reachable blocks (those to which a pointer was found) are not shown. ==14051== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14051== ==14051== For counts of detected and suppressed errors, rerun with: -v ==14051== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==14050== ==14050== HEAP SUMMARY: ==14050== in use at exit: 701 bytes in 10 blocks ==14050== total heap usage: 158 allocs, 148 frees, 122,886 bytes allocated ==14050== ==14050== LEAK SUMMARY: ==14050== definitely lost: 0 bytes in 0 blocks ==14050== indirectly lost: 0 bytes in 0 blocks ==14050== possibly lost: 0 bytes in 0 blocks ==14050== still reachable: 701 bytes in 10 blocks ==14050== suppressed: 0 bytes in 0 blocks ==14050== Reachable blocks (those to which a pointer was found) are not shown. ==14050== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14050== ==14050== For counts of detected and suppressed errors, rerun with: -v ==14050== 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:33222 to localhost:dynamid forwarded from localhost:56428 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:33226 to localhost:dynamid forwarded from localhost:58810 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 14038 ==14054== ==14054== HEAP SUMMARY: ==14054== in use at exit: 701 bytes in 10 blocks ==14054== total heap usage: 157 allocs, 147 frees, 122,870 bytes allocated ==14054== ==14056== ==14056== HEAP SUMMARY: ==14056== in use at exit: 701 bytes in 10 blocks ==14056== total heap usage: 158 allocs, 148 frees, 122,886 bytes allocated ==14056== ==14054== LEAK SUMMARY: ==14054== definitely lost: 0 bytes in 0 blocks ==14054== indirectly lost: 0 bytes in 0 blocks ==14054== possibly lost: 0 bytes in 0 blocks ==14054== still reachable: 701 bytes in 10 blocks ==14054== suppressed: 0 bytes in 0 blocks ==14054== Reachable blocks (those to which a pointer was found) are not shown. ==14054== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14054== ==14054== For counts of detected and suppressed errors, rerun with: -v ==14054== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==14056== LEAK SUMMARY: ==14056== definitely lost: 0 bytes in 0 blocks ==14056== indirectly lost: 0 bytes in 0 blocks ==14056== possibly lost: 0 bytes in 0 blocks ==14056== still reachable: 701 bytes in 10 blocks ==14056== suppressed: 0 bytes in 0 blocks ==14056== Reachable blocks (those to which a pointer was found) are not shown. ==14056== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14056== ==14056== For counts of detected and suppressed errors, rerun with: -v ==14056== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==14038== ==14040== ==14040== HEAP SUMMARY: ==14040== in use at exit: 701 bytes in 10 blocks ==14040== total heap usage: 130 allocs, 120 frees, 78,350 bytes allocated ==14040== ==14038== HEAP SUMMARY: ==14038== in use at exit: 701 bytes in 10 blocks ==14038== total heap usage: 130 allocs, 120 frees, 78,350 bytes allocated ==14038== ==14040== LEAK SUMMARY: ==14040== definitely lost: 0 bytes in 0 blocks ==14040== indirectly lost: 0 bytes in 0 blocks ==14040== possibly lost: 0 bytes in 0 blocks ==14040== still reachable: 701 bytes in 10 blocks ==14038== 8 bytes in 1 blocks are definitely lost in loss record 2 of 8 ==14038== at 0x4033614: malloc (vg_replace_malloc.c:299) ==14038== by 0x804AF4F: start_listen_sockets (common.c:122) ==14038== by 0x804D902: main (sslh-main.c:630) ==14038== ==14038== LEAK SUMMARY: ==14038== definitely lost: 8 bytes in 1 blocks ==14038== indirectly lost: 0 bytes in 0 blocks ==14038== possibly lost: 0 bytes in 0 blocks ==14038== still reachable: 693 bytes in 9 blocks ==14038== suppressed: 0 bytes in 0 blocks ==14038== Reachable blocks (those to which a pointer was found) are not shown. ==14038== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14038== ==14038== For counts of detected and suppressed errors, rerun with: -v ==14038== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==14040== suppressed: 0 bytes in 0 blocks ==14040== Reachable blocks (those to which a pointer was found) are not shown. ==14041== ==14041== HEAP SUMMARY: ==14041== in use at exit: 701 bytes in 10 blocks ==14041== total heap usage: 130 allocs, 120 frees, 78,350 bytes allocated ==14041== ==14040== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14040== ==14040== For counts of detected and suppressed errors, rerun with: -v ==14040== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==14041== LEAK SUMMARY: ==14041== definitely lost: 0 bytes in 0 blocks ==14041== indirectly lost: 0 bytes in 0 blocks ==14041== possibly lost: 0 bytes in 0 blocks ==14041== still reachable: 701 bytes in 10 blocks ==14041== suppressed: 0 bytes in 0 blocks ==14041== Reachable blocks (those to which a pointer was found) are not shown. ==14041== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14041== ==14041== For counts of detected and suppressed errors, rerun with: -v ==14041== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 14059 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 14061 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 14062 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 14063 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 14064 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 Processing files: sslh-1.19c-3.fc29.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cXHitu + exit 0 + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/doc/sslh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NYuaxp + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/licenses/sslh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-3.fc29 sslh = 1.19c-3.fc29 sslh(x86-32) = 1.19c-3.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3) libcap.so.2 libconfig.so.11 libpcreposix.so.0 libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) rtld(GNU_HASH) Processing files: sslh-debugsource-1.19c-3.fc29.i686 Provides: sslh-debugsource = 1.19c-3.fc29 sslh-debugsource(x86-32) = 1.19c-3.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-3.fc29.i686 Provides: debuginfo(build-id) = 69334933d8037d82fba563f3fdc0628859266a98 debuginfo(build-id) = c0e6cb1ffd25314498920b932a7bc2bb3885957e sslh-debuginfo = 1.19c-3.fc29 sslh-debuginfo(x86-32) = 1.19c-3.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sslh-debugsource(x86-32) = 1.19c-3.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386 Wrote: /builddir/build/RPMS/sslh-1.19c-3.fc29.i686.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-3.fc29.i686.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-3.fc29.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gpsjal + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-3.fc29.i386 + exit 0 Child return code was: 0