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-12365286-908007/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target 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-2.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-12365286-908007/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target 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.LC4Lhy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/sslh-1.19c-3a61c8b.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/00-systemd-tuning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/01-remove-lcov-testing.patch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g6UoHY + 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.KbjFTl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64 ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64 + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-2.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-2.fc28 --unique-debug-suffix -1.19c-2.fc28.aarch64 --unique-debug-src-base sslh-1.19c-2.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-2.fc28.aarch64/usr/sbin/sslh extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/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-2.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.Tuy87z + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 27432 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==27432== Memcheck, a memory error detector ==27432== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==27432== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==27432== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==27432== 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:38972 to localhost:dynamid forwarded from localhost:51332 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:38976 to localhost:dynamid forwarded from localhost:46052 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 ==27436== ==27436== HEAP SUMMARY: ==27436== in use at exit: 1,183 bytes in 9 blocks ==27436== total heap usage: 186 allocs, 177 frees, 181,634 bytes allocated ==27436== ==27436== LEAK SUMMARY: ==27436== definitely lost: 0 bytes in 0 blocks ==27436== indirectly lost: 0 bytes in 0 blocks ==27436== possibly lost: 0 bytes in 0 blocks ==27436== still reachable: 1,183 bytes in 9 blocks ==27436== suppressed: 0 bytes in 0 blocks ==27436== Reachable blocks (those to which a pointer was found) are not shown. ==27436== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27436== ==27436== For counts of detected and suppressed errors, rerun with: -v ==27436== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:38980 to localhost:dynamid forwarded from localhost:46056 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 ==27438== ==27438== HEAP SUMMARY: ==27438== in use at exit: 1,183 bytes in 9 blocks ==27438== total heap usage: 187 allocs, 178 frees, 181,664 bytes allocated ==27438== ==27438== LEAK SUMMARY: ==27438== definitely lost: 0 bytes in 0 blocks ==27438== indirectly lost: 0 bytes in 0 blocks ==27438== possibly lost: 0 bytes in 0 blocks ==27438== still reachable: 1,183 bytes in 9 blocks ==27438== suppressed: 0 bytes in 0 blocks ==27438== Reachable blocks (those to which a pointer was found) are not shown. ==27438== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27438== ==27438== For counts of detected and suppressed errors, rerun with: -v ==27438== 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:38984 to localhost:dynamid forwarded from localhost:46062 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 ==27440== ==27440== HEAP SUMMARY: ==27440== in use at exit: 1,213 bytes in 10 blocks ==27440== total heap usage: 189 allocs, 179 frees, 181,696 bytes allocated ==27440== ==27440== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==27440== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==27440== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==27440== by 0x404ECB: defer_write (common.c:297) ==27440== by 0x408543: probe_client_protocol (probe.c:359) ==27440== by 0x403E67: main_loop (sslh-select.c:405) ==27440== by 0x407ADB: main (sslh-main.c:663) ==27440== ==27440== LEAK SUMMARY: ==27440== definitely lost: 30 bytes in 1 blocks ==27440== indirectly lost: 0 bytes in 0 blocks ==27440== possibly lost: 0 bytes in 0 blocks ==27440== still reachable: 1,183 bytes in 9 blocks ==27440== suppressed: 0 bytes in 0 blocks ==27440== Reachable blocks (those to which a pointer was found) are not shown. ==27440== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27440== ==27440== For counts of detected and suppressed errors, rerun with: -v ==27440== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:38990 to localhost:dynamid forwarded from localhost:51352 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:38992 to localhost:dynamid forwarded from localhost:46070 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 connection closed down accepted fd 6 on slot 1 processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 7 selecting... max_fd=8 num_probing=1 ==27443== ==27443== HEAP SUMMARY: ==27443== in use at exit: 1,243 bytes in 11 blocks ==27443== total heap usage: 215 allocs, 204 frees, 228,392 bytes allocated ==27443== ==27443== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==27443== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==27443== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==27443== by 0x404ECB: defer_write (common.c:297) ==27443== by 0x408543: probe_client_protocol (probe.c:359) ==27443== by 0x403E67: main_loop (sslh-select.c:405) ==27443== by 0x407ADB: main (sslh-main.c:663) ==27443== ==27443== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==27443== at 0x4858F8C: realloc (vg_replace_malloc.c:785) ==27443== by 0x404ECB: defer_write (common.c:297) ==27443== by 0x408543: probe_client_protocol (probe.c:359) ==27443== by 0x403E67: main_loop (sslh-select.c:405) ==27443== by 0x407ADB: main (sslh-main.c:663) ==27443== ==27443== LEAK SUMMARY: ==27443== definitely lost: 60 bytes in 2 blocks ==27443== indirectly lost: 0 bytes in 0 blocks ==27443== possibly lost: 0 bytes in 0 blocks ==27443== still reachable: 1,183 bytes in 9 blocks ==27443== suppressed: 0 bytes in 0 blocks ==27443== Reachable blocks (those to which a pointer was found) are not shown. ==27443== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27443== ==27443== For counts of detected and suppressed errors, rerun with: -v ==27443== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) selecting... max_fd=8 num_probing=1 accepted fd 5 on slot 0 processing fd0 slot 1 timed out, connect to ssh closing fd 6 selecting... max_fd=8 num_probing=1 processing fd0 slot 0 hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl connecting to localhost:etlservicemgr family 10 len 28 connecting to localhost:cslistener family 10 len 28 ssl:connection from localhost:39000 to localhost:dynamid forwarded from localhost:51360 to localhost:etlservicemgr flushing deferred data to fd 6 selecting... max_fd=8 num_probing=0 processing fd1 slot 0 activity on fd6 selecting... max_fd=8 num_probing=0 ok 7 - SSL during SSH being established ssh:connection from localhost:38998 to localhost:dynamid forwarded from localhost:46078 to localhost:cslistener ok 8 - SSH connection interrupted by SSL processing fd0 slot 0 activity on fd5 closing fd 5 closing fd 6 selecting... max_fd=8 num_probing=0 socket closed connection closed down killing 27432 ==27445== ==27445== HEAP SUMMARY: ==27445== in use at exit: 1,243 bytes in 11 blocks ==27445== total heap usage: 215 allocs, 204 frees, 228,392 bytes allocated ==27445== ==27445== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==27445== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==27445== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==27445== by 0x404ECB: defer_write (common.c:297) ==27445== by 0x408543: probe_client_protocol (probe.c:359) ==27445== by 0x403E67: main_loop (sslh-select.c:405) ==27445== by 0x407ADB: main (sslh-main.c:663) ==27445== ==27445== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==27445== at 0x4858F8C: realloc (vg_replace_malloc.c:785) ==27445== by 0x404ECB: defer_write (common.c:297) ==27445== by 0x408543: probe_client_protocol (probe.c:359) ==27445== by 0x403E67: main_loop (sslh-select.c:405) ==27445== by 0x407ADB: main (sslh-main.c:663) ==27445== ==27445== LEAK SUMMARY: ==27445== definitely lost: 60 bytes in 2 blocks ==27445== indirectly lost: 0 bytes in 0 blocks ==27445== possibly lost: 0 bytes in 0 blocks ==27445== still reachable: 1,183 bytes in 9 blocks ==27445== suppressed: 0 bytes in 0 blocks ==27445== Reachable blocks (those to which a pointer was found) are not shown. ==27445== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27445== ==27445== For counts of detected and suppressed errors, rerun with: -v ==27445== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==27432== ==27432== HEAP SUMMARY: ==27432== in use at exit: 5,291 bytes in 12 blocks ==27432== total heap usage: 216 allocs, 204 frees, 228,408 bytes allocated ==27432== ==27432== 30 bytes in 1 blocks are definitely lost in loss record 3 of 10 ==27432== at 0x4856C38: malloc (vg_replace_malloc.c:298) ==27432== by 0x4858FD7: realloc (vg_replace_malloc.c:785) ==27432== by 0x404ECB: defer_write (common.c:297) ==27432== by 0x408543: probe_client_protocol (probe.c:359) ==27432== by 0x403E67: main_loop (sslh-select.c:405) ==27432== by 0x407ADB: main (sslh-main.c:663) ==27432== ==27432== 30 bytes in 1 blocks are definitely lost in loss record 4 of 10 ==27432== at 0x4858F8C: realloc (vg_replace_malloc.c:785) ==27432== by 0x404ECB: defer_write (common.c:297) ==27432== by 0x408543: probe_client_protocol (probe.c:359) ==27432== by 0x403E67: main_loop (sslh-select.c:405) ==27432== by 0x407ADB: main (sslh-main.c:663) ==27432== ==27432== LEAK SUMMARY: ==27432== definitely lost: 60 bytes in 2 blocks ==27432== indirectly lost: 0 bytes in 0 blocks ==27432== possibly lost: 0 bytes in 0 blocks ==27432== still reachable: 5,231 bytes in 10 blocks ==27432== suppressed: 0 bytes in 0 blocks ==27432== Reachable blocks (those to which a pointer was found) are not shown. ==27432== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27432== ==27432== For counts of detected and suppressed errors, rerun with: -v ==27432== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 27449 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==27449== Memcheck, a memory error detector ==27449== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==27449== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==27449== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==27449== 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:39006 to localhost:dynamid forwarded from localhost:51366 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 ==27452== ==27452== HEAP SUMMARY: ==27452== in use at exit: 1,189 bytes in 10 blocks ==27452== total heap usage: 161 allocs, 151 frees, 130,910 bytes allocated ==27452== ==27452== LEAK SUMMARY: ==27452== definitely lost: 0 bytes in 0 blocks ==27452== indirectly lost: 0 bytes in 0 blocks ==27452== possibly lost: 0 bytes in 0 blocks ==27452== still reachable: 1,189 bytes in 10 blocks ==27452== suppressed: 0 bytes in 0 blocks ==27452== Reachable blocks (those to which a pointer was found) are not shown. ==27452== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27452== ==27452== For counts of detected and suppressed errors, rerun with: -v ==27452== 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:39010 to localhost:dynamid forwarded from localhost:46086 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 ==27454== ==27454== HEAP SUMMARY: ==27454== in use at exit: 1,189 bytes in 10 blocks ==27454== total heap usage: 160 allocs, 150 frees, 130,894 bytes allocated ==27454== ==27454== LEAK SUMMARY: ==27454== definitely lost: 0 bytes in 0 blocks ==27454== indirectly lost: 0 bytes in 0 blocks ==27454== possibly lost: 0 bytes in 0 blocks ==27454== still reachable: 1,189 bytes in 10 blocks ==27454== suppressed: 0 bytes in 0 blocks ==27454== Reachable blocks (those to which a pointer was found) are not shown. ==27454== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27454== ==27454== For counts of detected and suppressed errors, rerun with: -v ==27454== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:39014 to localhost:dynamid forwarded from localhost:46090 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 ==27456== ==27456== HEAP SUMMARY: ==27456== in use at exit: 1,189 bytes in 10 blocks ==27456== total heap usage: 161 allocs, 151 frees, 130,924 bytes allocated ==27456== ==27456== LEAK SUMMARY: ==27456== definitely lost: 0 bytes in 0 blocks ==27456== indirectly lost: 0 bytes in 0 blocks ==27456== possibly lost: 0 bytes in 0 blocks ==27456== still reachable: 1,189 bytes in 10 blocks ==27456== suppressed: 0 bytes in 0 blocks ==27456== Reachable blocks (those to which a pointer was found) are not shown. ==27456== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27456== ==27456== For counts of detected and suppressed errors, rerun with: -v ==27456== 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:39018 to localhost:dynamid forwarded from localhost:46094 to localhost:cslistener flushing deferred data to fd 3 ok 12 - Incomplete first SSH frame ***Test: One SSL half-started then one SSH server socket closed connection closed down accepted fd 5 accepted fd 5 hexdump of incoming packet: 0x000000: 16 03 03 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a 0a ...hello world.. **** writing deferred on fd -1 probing for ssh probing for ssl ==27458== ==27458== HEAP SUMMARY: ==27458== in use at exit: 1,189 bytes in 10 blocks ==27458== total heap usage: 162 allocs, 152 frees, 130,926 bytes allocated ==27458== ==27458== LEAK SUMMARY: ==27458== definitely lost: 0 bytes in 0 blocks ==27458== indirectly lost: 0 bytes in 0 blocks ==27458== possibly lost: 0 bytes in 0 blocks ==27458== still reachable: 1,189 bytes in 10 blocks ==27458== suppressed: 0 bytes in 0 blocks ==27458== Reachable blocks (those to which a pointer was found) are not shown. ==27458== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27458== ==27458== For counts of detected and suppressed errors, rerun with: -v ==27458== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:39022 to localhost:dynamid forwarded from localhost:51384 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:39024 to localhost:dynamid forwarded from localhost:46104 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 ==27461== ==27461== HEAP SUMMARY: ==27461== in use at exit: 1,189 bytes in 10 blocks ==27461== total heap usage: 160 allocs, 150 frees, 130,894 bytes allocated ==27461== ==27461== LEAK SUMMARY: ==27461== definitely lost: 0 bytes in 0 blocks ==27461== indirectly lost: 0 bytes in 0 blocks ==27461== possibly lost: 0 bytes in 0 blocks ==27461== still reachable: 1,189 bytes in 10 blocks ==27461== suppressed: 0 bytes in 0 blocks ==27461== Reachable blocks (those to which a pointer was found) are not shown. ==27461== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27461== ==27461== For counts of detected and suppressed errors, rerun with: -v ==27461== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==27460== ==27460== HEAP SUMMARY: ==27460== in use at exit: 1,189 bytes in 10 blocks ==27460== total heap usage: 161 allocs, 151 frees, 130,910 bytes allocated ==27460== ==27460== LEAK SUMMARY: ==27460== definitely lost: 0 bytes in 0 blocks ==27460== indirectly lost: 0 bytes in 0 blocks ==27460== possibly lost: 0 bytes in 0 blocks ==27460== still reachable: 1,189 bytes in 10 blocks ==27460== suppressed: 0 bytes in 0 blocks ==27460== Reachable blocks (those to which a pointer was found) are not shown. ==27460== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27460== ==27460== For counts of detected and suppressed errors, rerun with: -v ==27460== 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:39032 to localhost:dynamid forwarded from localhost:46108 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:39036 to localhost:dynamid forwarded from localhost:51396 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 27449 ==27449== ==27449== HEAP SUMMARY: ==27449== in use at exit: 1,189 bytes in 10 blocks ==27449== total heap usage: 133 allocs, 123 frees, 84,174 bytes allocated ==27449== ==27449== 8 bytes in 1 blocks are definitely lost in loss record 2 of 8 ==27449== at 0x4856D08: malloc (vg_replace_malloc.c:299) ==27449== by 0x402D43: start_listen_sockets (common.c:122) ==27449== by 0x40618B: main (sslh-main.c:630) ==27449== ==27449== LEAK SUMMARY: ==27449== definitely lost: 8 bytes in 1 blocks ==27449== indirectly lost: 0 bytes in 0 blocks ==27449== possibly lost: 0 bytes in 0 blocks ==27449== still reachable: 1,181 bytes in 9 blocks ==27449== suppressed: 0 bytes in 0 blocks ==27449== Reachable blocks (those to which a pointer was found) are not shown. ==27449== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27449== ==27449== For counts of detected and suppressed errors, rerun with: -v ==27449== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==27450== ==27450== HEAP SUMMARY: ==27450== in use at exit: 1,189 bytes in 10 blocks ==27450== total heap usage: 133 allocs, 123 frees, 84,174 bytes allocated ==27450== ==27450== LEAK SUMMARY: ==27450== definitely lost: 0 bytes in 0 blocks ==27450== indirectly lost: 0 bytes in 0 blocks ==27450== possibly lost: 0 bytes in 0 blocks ==27450== still reachable: 1,189 bytes in 10 blocks ==27450== suppressed: 0 bytes in 0 blocks ==27450== Reachable blocks (those to which a pointer was found) are not shown. ==27450== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27450== ==27450== For counts of detected and suppressed errors, rerun with: -v ==27450== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==27466== ==27466== HEAP SUMMARY: ==27466== in use at exit: 1,189 bytes in 10 blocks ==27466== total heap usage: 161 allocs, 151 frees, 130,910 bytes allocated ==27466== ==27466== LEAK SUMMARY: ==27466== definitely lost: 0 bytes in 0 blocks ==27466== indirectly lost: 0 bytes in 0 blocks ==27466== possibly lost: 0 bytes in 0 blocks ==27466== still reachable: 1,189 bytes in 10 blocks ==27466== suppressed: 0 bytes in 0 blocks ==27466== Reachable blocks (those to which a pointer was found) are not shown. ==27466== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27466== ==27466== For counts of detected and suppressed errors, rerun with: -v ==27466== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==27464== ==27464== HEAP SUMMARY: ==27464== in use at exit: 1,189 bytes in 10 blocks ==27464== total heap usage: 160 allocs, 150 frees, 130,894 bytes allocated ==27464== ==27464== LEAK SUMMARY: ==27464== definitely lost: 0 bytes in 0 blocks ==27464== indirectly lost: 0 bytes in 0 blocks ==27464== possibly lost: 0 bytes in 0 blocks ==27464== still reachable: 1,189 bytes in 10 blocks ==27464== suppressed: 0 bytes in 0 blocks ==27464== Reachable blocks (those to which a pointer was found) are not shown. ==27464== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27464== ==27464== For counts of detected and suppressed errors, rerun with: -v ==27464== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==27451== ==27451== HEAP SUMMARY: ==27451== in use at exit: 1,189 bytes in 10 blocks ==27451== total heap usage: 133 allocs, 123 frees, 84,174 bytes allocated ==27451== ==27451== LEAK SUMMARY: ==27451== definitely lost: 0 bytes in 0 blocks ==27451== indirectly lost: 0 bytes in 0 blocks ==27451== possibly lost: 0 bytes in 0 blocks ==27451== still reachable: 1,189 bytes in 10 blocks ==27451== suppressed: 0 bytes in 0 blocks ==27451== Reachable blocks (those to which a pointer was found) are not shown. ==27451== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==27451== ==27451== For counts of detected and suppressed errors, rerun with: -v ==27451== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 27469 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 27471 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 27472 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 ok 18 - Exit status on non-existant username ***Test: Can't open PID file exited with 2 spawned 27473 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 27474 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-2.fc28.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4YxAnf + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-2.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-2.fc28.aarch64/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DVJ0iT + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-2.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-2.fc28.aarch64/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-2.fc28 sslh = 1.19c-2.fc28 sslh(aarch-64) = 1.19c-2.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.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-2.fc28.aarch64 Provides: sslh-debugsource = 1.19c-2.fc28 sslh-debugsource(aarch-64) = 1.19c-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sslh-debuginfo-1.19c-2.fc28.aarch64 Provides: debuginfo(build-id) = 4235f02bc4f05288dbe2c4be07ec472868798094 debuginfo(build-id) = 5b90b010aa9ae9d315cc404516d77d7d2f839b76 sslh-debuginfo = 1.19c-2.fc28 sslh-debuginfo(aarch-64) = 1.19c-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sslh-debugsource(aarch-64) = 1.19c-2.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64 Wrote: /builddir/build/RPMS/sslh-1.19c-2.fc28.aarch64.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-2.fc28.aarch64.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-2.fc28.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qPOFy3 + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-2.fc28.aarch64 + exit 0 Child return code was: 0