Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f28-build-12168418-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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/f28-build-12168418-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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.naMpfb + 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.e1CGTd + 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 #strip sslh-fork cc -Wall -g -o sslh-select sslh-select.o common.o sslh-main.o probe.o tls.o -lpcreposix -lconfig -lcap -lsystemd #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.8WjZT3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64 ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64 + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/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.aarch64 --unique-debug-src-base sslh-1.19c-1.fc28.aarch64 --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.aarch64/usr/sbin/sslh-select extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/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.aarch64/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.vb71GF + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 29722 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==29722== Memcheck, a memory error detector ==29722== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==29722== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==29722== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==29722== 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:40494 to localhost:dynamid forwarded from localhost:49064 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:40500 to localhost:dynamid forwarded from localhost:38402 to localhost:cslistener ok 2 - Shy SSH connection ***Test: Bold SSH connection 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 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 ==29726== ==29726== HEAP SUMMARY: ==29726== in use at exit: 1,183 bytes in 9 blocks ==29726== total heap usage: 186 allocs, 177 frees, 181,634 bytes allocated ==29726== ==29726== LEAK SUMMARY: ==29726== definitely lost: 0 bytes in 0 blocks ==29726== indirectly lost: 0 bytes in 0 blocks ==29726== possibly lost: 0 bytes in 0 blocks ==29726== still reachable: 1,183 bytes in 9 blocks ==29726== suppressed: 0 bytes in 0 blocks ==29726== Reachable blocks (those to which a pointer was found) are not shown. ==29726== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29726== ==29726== For counts of detected and suppressed errors, rerun with: -v ==29726== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:40504 to localhost:dynamid forwarded from localhost:38406 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 ==29728== ==29728== HEAP SUMMARY: ==29728== in use at exit: 1,183 bytes in 9 blocks ==29728== total heap usage: 187 allocs, 178 frees, 181,664 bytes allocated ==29728== ==29728== LEAK SUMMARY: ==29728== definitely lost: 0 bytes in 0 blocks ==29728== indirectly lost: 0 bytes in 0 blocks ==29728== possibly lost: 0 bytes in 0 blocks ==29728== still reachable: 1,183 bytes in 9 blocks ==29728== suppressed: 0 bytes in 0 blocks ==29728== Reachable blocks (those to which a pointer was found) are not shown. ==29728== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29728== ==29728== For counts of detected and suppressed errors, rerun with: -v ==29728== 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:40508 to localhost:dynamid forwarded from localhost:38410 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 ==29730== ==29730== HEAP SUMMARY: ==29730== in use at exit: 1,213 bytes in 10 blocks ==29730== total heap usage: 189 allocs, 179 frees, 181,696 bytes allocated ==29730== ==29730== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==29730== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==29730== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==29730== by 0x404ECB: defer_write (common.c:297) ==29730== by 0x408543: probe_client_protocol (probe.c:359) ==29730== by 0x403E67: main_loop (sslh-select.c:405) ==29730== by 0x407ADB: main (sslh-main.c:663) ==29730== ==29730== LEAK SUMMARY: ==29730== definitely lost: 30 bytes in 1 blocks ==29730== indirectly lost: 0 bytes in 0 blocks ==29730== possibly lost: 0 bytes in 0 blocks ==29730== still reachable: 1,183 bytes in 9 blocks ==29730== suppressed: 0 bytes in 0 blocks ==29730== Reachable blocks (those to which a pointer was found) are not shown. ==29730== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29730== ==29730== For counts of detected and suppressed errors, rerun with: -v ==29730== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:40512 to localhost:dynamid forwarded from localhost:49084 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:40514 to localhost:dynamid forwarded from localhost:38418 to localhost:cslistener ok 5 - SSH during SSL being established ok 6 - SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL socket closed processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 7 selecting... max_fd=8 num_probing=0 connection closed down accepted fd 5 on slot 0 selecting... max_fd=8 num_probing=1 ==29733== ==29733== HEAP SUMMARY: ==29733== in use at exit: 1,243 bytes in 11 blocks ==29733== total heap usage: 215 allocs, 204 frees, 228,392 bytes allocated ==29733== ==29733== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==29733== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==29733== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==29733== by 0x404ECB: defer_write (common.c:297) ==29733== by 0x408543: probe_client_protocol (probe.c:359) ==29733== by 0x403E67: main_loop (sslh-select.c:405) ==29733== by 0x407ADB: main (sslh-main.c:663) ==29733== ==29733== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==29733== at 0x4858F8C: realloc (vg_replace_malloc.c:785) ==29733== by 0x404ECB: defer_write (common.c:297) ==29733== by 0x408543: probe_client_protocol (probe.c:359) ==29733== by 0x403E67: main_loop (sslh-select.c:405) ==29733== by 0x407ADB: main (sslh-main.c:663) ==29733== ==29733== LEAK SUMMARY: ==29733== definitely lost: 60 bytes in 2 blocks ==29733== indirectly lost: 0 bytes in 0 blocks ==29733== possibly lost: 0 bytes in 0 blocks ==29733== still reachable: 1,183 bytes in 9 blocks ==29733== suppressed: 0 bytes in 0 blocks ==29733== Reachable blocks (those to which a pointer was found) are not shown. ==29733== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29733== ==29733== For counts of detected and suppressed errors, rerun with: -v ==29733== 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:40522 to localhost:dynamid forwarded from localhost:49092 to localhost:etlservicemgr flushing deferred data to fd 5 selecting... max_fd=8 num_probing=0 processing fd1 slot 1 activity on fd5 ok 7 - SSL during SSH being established selecting... max_fd=8 num_probing=0 ssh:connection from localhost:40520 to localhost:dynamid forwarded from localhost:38426 to localhost:cslistener ok 8 - SSH connection interrupted by SSL processing fd0 slot 1 activity on fd6 closing fd 6 closing fd 5 selecting... max_fd=8 num_probing=0 socket closed connection closed down killing 29722 ==29722== ==29722== HEAP SUMMARY: ==29722== in use at exit: 5,291 bytes in 12 blocks ==29722== total heap usage: 216 allocs, 204 frees, 228,408 bytes allocated ==29722== ==29722== 30 bytes in 1 blocks are definitely lost in loss record 3 of 10 ==29722== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==29722== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==29722== by 0x404ECB: defer_write (common.c:297) ==29722== by 0x408543: probe_client_protocol (probe.c:359) ==29722== by 0x403E67: main_loop (sslh-select.c:405) ==29722== by 0x407ADB: main (sslh-main.c:663) ==29722== ==29722== 30 bytes in 1 blocks are definitely lost in loss record 4 of 10 ==29722== at 0x4858F8C: realloc (vg_replace_malloc.c:785) ==29722== by 0x404ECB: defer_write (common.c:297) ==29722== by 0x408543: probe_client_protocol (probe.c:359) ==29722== by 0x403E67: main_loop (sslh-select.c:405) ==29722== by 0x407ADB: main (sslh-main.c:663) ==29722== ==29722== LEAK SUMMARY: ==29722== definitely lost: 60 bytes in 2 blocks ==29722== indirectly lost: 0 bytes in 0 blocks ==29722== possibly lost: 0 bytes in 0 blocks ==29722== still reachable: 5,231 bytes in 10 blocks ==29722== suppressed: 0 bytes in 0 blocks ==29722== Reachable blocks (those to which a pointer was found) are not shown. ==29722== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29722== ==29722== For counts of detected and suppressed errors, rerun with: -v ==29722== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==29735== ==29735== HEAP SUMMARY: ==29735== in use at exit: 1,243 bytes in 11 blocks ==29735== total heap usage: 215 allocs, 204 frees, 228,392 bytes allocated ==29735== ==29735== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==29735== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==29735== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==29735== by 0x404ECB: defer_write (common.c:297) ==29735== by 0x408543: probe_client_protocol (probe.c:359) ==29735== by 0x403E67: main_loop (sslh-select.c:405) ==29735== by 0x407ADB: main (sslh-main.c:663) ==29735== ==29735== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==29735== at 0x4858F8C: realloc (vg_replace_malloc.c:785) ==29735== by 0x404ECB: defer_write (common.c:297) ==29735== by 0x408543: probe_client_protocol (probe.c:359) ==29735== by 0x403E67: main_loop (sslh-select.c:405) ==29735== by 0x407ADB: main (sslh-main.c:663) ==29735== ==29735== LEAK SUMMARY: ==29735== definitely lost: 60 bytes in 2 blocks ==29735== indirectly lost: 0 bytes in 0 blocks ==29735== possibly lost: 0 bytes in 0 blocks ==29735== still reachable: 1,183 bytes in 9 blocks ==29735== suppressed: 0 bytes in 0 blocks ==29735== Reachable blocks (those to which a pointer was found) are not shown. ==29735== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29735== ==29735== For counts of detected and suppressed errors, rerun with: -v ==29735== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 29739 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==29739== Memcheck, a memory error detector ==29739== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==29739== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==29739== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==29739== 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:40530 to localhost:dynamid forwarded from localhost:49100 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 ==29742== ==29742== HEAP SUMMARY: ==29742== in use at exit: 1,189 bytes in 10 blocks ==29742== total heap usage: 161 allocs, 151 frees, 130,910 bytes allocated ==29742== ==29742== LEAK SUMMARY: ==29742== definitely lost: 0 bytes in 0 blocks ==29742== indirectly lost: 0 bytes in 0 blocks ==29742== possibly lost: 0 bytes in 0 blocks ==29742== still reachable: 1,189 bytes in 10 blocks ==29742== suppressed: 0 bytes in 0 blocks ==29742== Reachable blocks (those to which a pointer was found) are not shown. ==29742== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29742== ==29742== For counts of detected and suppressed errors, rerun with: -v ==29742== 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:40534 to localhost:dynamid forwarded from localhost:38436 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 ==29744== ==29744== HEAP SUMMARY: ==29744== in use at exit: 1,189 bytes in 10 blocks ==29744== total heap usage: 160 allocs, 150 frees, 130,894 bytes allocated ==29744== ==29744== LEAK SUMMARY: ==29744== definitely lost: 0 bytes in 0 blocks ==29744== indirectly lost: 0 bytes in 0 blocks ==29744== possibly lost: 0 bytes in 0 blocks ==29744== still reachable: 1,189 bytes in 10 blocks ==29744== suppressed: 0 bytes in 0 blocks ==29744== Reachable blocks (those to which a pointer was found) are not shown. ==29744== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29744== ==29744== For counts of detected and suppressed errors, rerun with: -v ==29744== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:40540 to localhost:dynamid forwarded from localhost:38442 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 ==29752== ==29752== HEAP SUMMARY: ==29752== in use at exit: 1,189 bytes in 10 blocks ==29752== total heap usage: 161 allocs, 151 frees, 130,924 bytes allocated ==29752== ==29752== LEAK SUMMARY: ==29752== definitely lost: 0 bytes in 0 blocks ==29752== indirectly lost: 0 bytes in 0 blocks ==29752== possibly lost: 0 bytes in 0 blocks ==29752== still reachable: 1,189 bytes in 10 blocks ==29752== suppressed: 0 bytes in 0 blocks ==29752== Reachable blocks (those to which a pointer was found) are not shown. ==29752== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29752== ==29752== For counts of detected and suppressed errors, rerun with: -v ==29752== 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:40544 to localhost:dynamid forwarded from localhost:38446 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 ==29754== ==29754== HEAP SUMMARY: ==29754== in use at exit: 1,189 bytes in 10 blocks ==29754== total heap usage: 162 allocs, 152 frees, 130,926 bytes allocated ==29754== ==29754== LEAK SUMMARY: ==29754== definitely lost: 0 bytes in 0 blocks ==29754== indirectly lost: 0 bytes in 0 blocks ==29754== possibly lost: 0 bytes in 0 blocks ==29754== still reachable: 1,189 bytes in 10 blocks ==29754== suppressed: 0 bytes in 0 blocks ==29754== Reachable blocks (those to which a pointer was found) are not shown. ==29754== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29754== ==29754== For counts of detected and suppressed errors, rerun with: -v ==29754== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:40548 to localhost:dynamid forwarded from localhost:49120 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:40550 to localhost:dynamid forwarded from localhost:38454 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 ==29757== ==29757== HEAP SUMMARY: ==29757== in use at exit: 1,189 bytes in 10 blocks ==29757== total heap usage: 160 allocs, 150 frees, 130,894 bytes allocated ==29757== ==29756== ==29756== HEAP SUMMARY: ==29756== in use at exit: 1,189 bytes in 10 blocks ==29756== total heap usage: 161 allocs, 151 frees, 130,910 bytes allocated ==29756== ==29757== LEAK SUMMARY: ==29757== definitely lost: 0 bytes in 0 blocks ==29757== indirectly lost: 0 bytes in 0 blocks ==29757== possibly lost: 0 bytes in 0 blocks ==29757== still reachable: 1,189 bytes in 10 blocks ==29757== suppressed: 0 bytes in 0 blocks ==29757== Reachable blocks (those to which a pointer was found) are not shown. ==29757== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29757== ==29757== For counts of detected and suppressed errors, rerun with: -v ==29757== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==29756== LEAK SUMMARY: ==29756== definitely lost: 0 bytes in 0 blocks ==29756== indirectly lost: 0 bytes in 0 blocks ==29756== possibly lost: 0 bytes in 0 blocks ==29756== still reachable: 1,189 bytes in 10 blocks ==29756== suppressed: 0 bytes in 0 blocks ==29756== Reachable blocks (those to which a pointer was found) are not shown. ==29756== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29756== ==29756== For counts of detected and suppressed errors, rerun with: -v ==29756== 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:40556 to localhost:dynamid forwarded from localhost:38458 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:40560 to localhost:dynamid forwarded from localhost:49130 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 29739 ==29762== ==29762== HEAP SUMMARY: ==29762== in use at exit: 1,189 bytes in 10 blocks ==29762== total heap usage: 161 allocs, 151 frees, 130,910 bytes allocated ==29762== ==29762== LEAK SUMMARY: ==29762== definitely lost: 0 bytes in 0 blocks ==29762== indirectly lost: 0 bytes in 0 blocks ==29762== possibly lost: 0 bytes in 0 blocks ==29762== still reachable: 1,189 bytes in 10 blocks ==29762== suppressed: 0 bytes in 0 blocks ==29762== Reachable blocks (those to which a pointer was found) are not shown. ==29762== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29762== ==29762== For counts of detected and suppressed errors, rerun with: -v ==29762== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==29739== ==29739== HEAP SUMMARY: ==29739== in use at exit: 1,189 bytes in 10 blocks ==29739== total heap usage: 133 allocs, 123 frees, 84,174 bytes allocated ==29739== ==29739== 8 bytes in 1 blocks are definitely lost in loss record 2 of 8 ==29739== at 0x4856D08: malloc (vg_replace_malloc.c:299) ==29739== by 0x402D43: start_listen_sockets (common.c:122) ==29739== by 0x40618B: main (sslh-main.c:630) ==29739== ==29739== LEAK SUMMARY: ==29739== definitely lost: 8 bytes in 1 blocks ==29739== indirectly lost: 0 bytes in 0 blocks ==29739== possibly lost: 0 bytes in 0 blocks ==29739== still reachable: 1,181 bytes in 9 blocks ==29739== suppressed: 0 bytes in 0 blocks ==29739== Reachable blocks (those to which a pointer was found) are not shown. ==29739== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29739== ==29739== For counts of detected and suppressed errors, rerun with: -v ==29739== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==29760== ==29760== HEAP SUMMARY: ==29760== in use at exit: 1,189 bytes in 10 blocks ==29760== total heap usage: 160 allocs, 150 frees, 130,894 bytes allocated ==29760== ==29760== LEAK SUMMARY: ==29760== definitely lost: 0 bytes in 0 blocks ==29760== indirectly lost: 0 bytes in 0 blocks ==29760== possibly lost: 0 bytes in 0 blocks ==29760== still reachable: 1,189 bytes in 10 blocks ==29760== suppressed: 0 bytes in 0 blocks ==29760== Reachable blocks (those to which a pointer was found) are not shown. ==29760== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29760== ==29760== For counts of detected and suppressed errors, rerun with: -v ==29760== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==29741== ==29741== HEAP SUMMARY: ==29741== in use at exit: 1,189 bytes in 10 blocks ==29741== total heap usage: 133 allocs, 123 frees, 84,174 bytes allocated ==29741== ==29740== ==29741== LEAK SUMMARY: ==29741== definitely lost: 0 bytes in 0 blocks ==29741== indirectly lost: 0 bytes in 0 blocks ==29741== possibly lost: 0 bytes in 0 blocks ==29741== still reachable: 1,189 bytes in 10 blocks ==29741== suppressed: 0 bytes in 0 blocks ==29741== Reachable blocks (those to which a pointer was found) are not shown. ==29741== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29741== ==29741== For counts of detected and suppressed errors, rerun with: -v ==29741== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==29740== HEAP SUMMARY: ==29740== in use at exit: 1,189 bytes in 10 blocks ==29740== total heap usage: 133 allocs, 123 frees, 84,174 bytes allocated ==29740== ==29740== LEAK SUMMARY: ==29740== definitely lost: 0 bytes in 0 blocks ==29740== indirectly lost: 0 bytes in 0 blocks ==29740== possibly lost: 0 bytes in 0 blocks ==29740== still reachable: 1,189 bytes in 10 blocks ==29740== suppressed: 0 bytes in 0 blocks ==29740== Reachable blocks (those to which a pointer was found) are not shown. ==29740== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29740== ==29740== For counts of detected and suppressed errors, rerun with: -v ==29740== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 29765 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 29767 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 29768 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 29769 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 29770 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.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.N5J8gj + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/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.aarch64/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7Eb1LV + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/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.aarch64/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-1.fc28 sslh = 1.19c-1.fc28 sslh(aarch-64) = 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()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcap.so.2()(64bit) libconfig.so.9()(64bit) libpcreposix.so.0()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Processing files: sslh-debugsource-1.19c-1.fc28.aarch64 Provides: sslh-debugsource = 1.19c-1.fc28 sslh-debugsource(aarch-64) = 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.aarch64 Provides: debuginfo(build-id) = 192bd90b25b3a18305a2897bccea134961b94d4c debuginfo(build-id) = e46246030256196693541edf210092d49160e9df sslh-debuginfo = 1.19c-1.fc28 sslh-debuginfo(aarch-64) = 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(aarch-64) = 1.19c-1.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64 Wrote: /builddir/build/RPMS/sslh-1.19c-1.fc28.aarch64.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-1.fc28.aarch64.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-1.fc28.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.71Jvs1 + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc28.aarch64 + exit 0 Child return code was: 0