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/f27-build-12168439-895240/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.fc27.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/f27-build-12168439-895240/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.W6RVGb + 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.aE5TOf + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + ./genver.sh + make -j4 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 sslh echosrv cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-main.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c probe.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tls.c common.c: In function 'check_access_rights': common.c:616:20: warning: passing argument 1 of 'hosts_ctl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) { ^~~~~~~ In file included from common.c:49:0: /usr/include/tcpd.h:200:12: note: expected 'char *' but argument is of type 'const char *' extern int hosts_ctl(char *daemon, char *client_name, char *client_addr, ^~~~~~~~~ cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-fork.c cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-select.c cc -Wall -g -DLIBWRAP -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 -lwrap -lpcreposix -lconfig -lcap -lsystemd cc -Wall -g -o echosrv echosrv.o probe.o common.o tls.o -lwrap -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 -lwrap -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.VdmfS0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64 ++ dirname /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64 + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/share/doc/sslh + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.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.fc27 --unique-debug-suffix -1.19c-1.fc27.aarch64 --unique-debug-src-base sslh-1.19c-1.fc27.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.fc27.aarch64/usr/sbin/sslh extracting debug info from /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.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/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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RQEu8t + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 4789 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==4789== Memcheck, a memory error detector ==4789== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==4789== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==4789== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==4789== 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:39086 to localhost:dynamid forwarded from localhost:40726 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:39090 to localhost:dynamid forwarded from localhost:55176 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 ==4793== ==4793== HEAP SUMMARY: ==4793== in use at exit: 1,182 bytes in 9 blocks ==4793== total heap usage: 194 allocs, 185 frees, 195,664 bytes allocated ==4793== ==4793== LEAK SUMMARY: ==4793== definitely lost: 0 bytes in 0 blocks ==4793== indirectly lost: 0 bytes in 0 blocks ==4793== possibly lost: 0 bytes in 0 blocks ==4793== still reachable: 1,182 bytes in 9 blocks ==4793== suppressed: 0 bytes in 0 blocks ==4793== Reachable blocks (those to which a pointer was found) are not shown. ==4793== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4793== ==4793== For counts of detected and suppressed errors, rerun with: -v ==4793== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:39094 to localhost:dynamid forwarded from localhost:55180 to localhost:cslistener flushing deferred data to fd 4 ok 3 - Bold SSH connection ***Test: incomplete SSH first frame socket closed accepted fd 5 on slot 0 selecting... max_fd=7 num_probing=1 connection closed down processing fd0 slot 0 hexdump of incoming packet: 0x000000: 53 53 SS **** writing deferred on fd -1 probing for ssh selecting... max_fd=7 num_probing=1 ==4795== ==4795== HEAP SUMMARY: ==4795== in use at exit: 1,182 bytes in 9 blocks ==4795== total heap usage: 202 allocs, 193 frees, 209,678 bytes allocated ==4795== ==4795== LEAK SUMMARY: ==4795== definitely lost: 0 bytes in 0 blocks ==4795== indirectly lost: 0 bytes in 0 blocks ==4795== possibly lost: 0 bytes in 0 blocks ==4795== still reachable: 1,182 bytes in 9 blocks ==4795== suppressed: 0 bytes in 0 blocks ==4795== Reachable blocks (those to which a pointer was found) are not shown. ==4795== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4795== ==4795== For counts of detected and suppressed errors, rerun with: -v ==4795== 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:39098 to localhost:dynamid forwarded from localhost:55186 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 ==4797== ==4797== HEAP SUMMARY: ==4797== in use at exit: 1,212 bytes in 10 blocks ==4797== total heap usage: 211 allocs, 201 frees, 223,694 bytes allocated ==4797== ==4797== 30 bytes in 1 blocks are definitely lost in loss record 3 of 8 ==4797== at 0x4856C40: malloc (vg_replace_malloc.c:298) ==4797== by 0x4858FDF: realloc (vg_replace_malloc.c:785) ==4797== by 0x405087: defer_write (common.c:297) ==4797== by 0x408AB7: probe_client_protocol (probe.c:359) ==4797== by 0x403F7B: main_loop (sslh-select.c:405) ==4797== by 0x407FFF: main (sslh-main.c:663) ==4797== ==4797== LEAK SUMMARY: ==4797== definitely lost: 30 bytes in 1 blocks ==4797== indirectly lost: 0 bytes in 0 blocks ==4797== possibly lost: 0 bytes in 0 blocks ==4797== still reachable: 1,182 bytes in 9 blocks ==4797== suppressed: 0 bytes in 0 blocks ==4797== Reachable blocks (those to which a pointer was found) are not shown. ==4797== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4797== ==4797== For counts of detected and suppressed errors, rerun with: -v ==4797== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:39104 to localhost:dynamid forwarded from localhost:40746 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:39106 to localhost:dynamid forwarded from localhost:55194 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 socket closed 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 ==4800== ==4800== HEAP SUMMARY: ==4800== in use at exit: 1,242 bytes in 11 blocks ==4800== total heap usage: 244 allocs, 233 frees, 284,374 bytes allocated ==4800== ==4800== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==4800== at 0x4856C40: malloc (vg_replace_malloc.c:298) ==4800== by 0x4858FDF: realloc (vg_replace_malloc.c:785) ==4800== by 0x405087: defer_write (common.c:297) ==4800== by 0x408AB7: probe_client_protocol (probe.c:359) ==4800== by 0x403F7B: main_loop (sslh-select.c:405) ==4800== by 0x407FFF: main (sslh-main.c:663) ==4800== ==4800== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==4800== at 0x4858F94: realloc (vg_replace_malloc.c:785) ==4800== by 0x405087: defer_write (common.c:297) ==4800== by 0x408AB7: probe_client_protocol (probe.c:359) ==4800== by 0x403F7B: main_loop (sslh-select.c:405) ==4800== by 0x407FFF: main (sslh-main.c:663) ==4800== ==4800== LEAK SUMMARY: ==4800== definitely lost: 60 bytes in 2 blocks ==4800== indirectly lost: 0 bytes in 0 blocks ==4800== possibly lost: 0 bytes in 0 blocks ==4800== still reachable: 1,182 bytes in 9 blocks ==4800== suppressed: 0 bytes in 0 blocks ==4800== Reachable blocks (those to which a pointer was found) are not shown. ==4800== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4800== ==4800== For counts of detected and suppressed errors, rerun with: -v ==4800== 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:39116 to localhost:dynamid forwarded from localhost:40756 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:39112 to localhost:dynamid forwarded from localhost:55204 to localhost:cslistener ok 8 - SSH connection interrupted by SSL processing fd0 slot 1 activity on fd6 closing fd 6 socket closed closing fd 5 selecting... max_fd=8 num_probing=0 connection closed down killing 4789 ==4802== ==4802== HEAP SUMMARY: ==4802== in use at exit: 1,242 bytes in 11 blocks ==4802== total heap usage: 251 allocs, 240 frees, 298,358 bytes allocated ==4802== ==4789== ==4789== HEAP SUMMARY: ==4789== in use at exit: 5,290 bytes in 12 blocks ==4789== total heap usage: 252 allocs, 240 frees, 298,374 bytes allocated ==4789== ==4802== 30 bytes in 1 blocks are definitely lost in loss record 3 of 9 ==4802== at 0x4856C40: malloc (vg_replace_malloc.c:298) ==4802== by 0x4858FDF: realloc (vg_replace_malloc.c:785) ==4802== by 0x405087: defer_write (common.c:297) ==4802== by 0x408AB7: probe_client_protocol (probe.c:359) ==4802== by 0x403F7B: main_loop (sslh-select.c:405) ==4802== by 0x407FFF: main (sslh-main.c:663) ==4802== ==4802== 30 bytes in 1 blocks are definitely lost in loss record 4 of 9 ==4802== at 0x4858F94: realloc (vg_replace_malloc.c:785) ==4802== by 0x405087: defer_write (common.c:297) ==4802== by 0x408AB7: probe_client_protocol (probe.c:359) ==4802== by 0x403F7B: main_loop (sslh-select.c:405) ==4802== by 0x407FFF: main (sslh-main.c:663) ==4802== ==4802== LEAK SUMMARY: ==4802== definitely lost: 60 bytes in 2 blocks ==4802== indirectly lost: 0 bytes in 0 blocks ==4802== possibly lost: 0 bytes in 0 blocks ==4802== still reachable: 1,182 bytes in 9 blocks ==4802== suppressed: 0 bytes in 0 blocks ==4802== Reachable blocks (those to which a pointer was found) are not shown. ==4802== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4802== ==4802== For counts of detected and suppressed errors, rerun with: -v ==4802== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ==4789== 30 bytes in 1 blocks are definitely lost in loss record 3 of 10 ==4789== at 0x4856C40: malloc (vg_replace_malloc.c:298) ==4789== by 0x4858FDF: realloc (vg_replace_malloc.c:785) ==4789== by 0x405087: defer_write (common.c:297) ==4789== by 0x408AB7: probe_client_protocol (probe.c:359) ==4789== by 0x403F7B: main_loop (sslh-select.c:405) ==4789== by 0x407FFF: main (sslh-main.c:663) ==4789== ==4789== 30 bytes in 1 blocks are definitely lost in loss record 4 of 10 ==4789== at 0x4858F94: realloc (vg_replace_malloc.c:785) ==4789== by 0x405087: defer_write (common.c:297) ==4789== by 0x408AB7: probe_client_protocol (probe.c:359) ==4789== by 0x403F7B: main_loop (sslh-select.c:405) ==4789== by 0x407FFF: main (sslh-main.c:663) ==4789== ==4789== LEAK SUMMARY: ==4789== definitely lost: 60 bytes in 2 blocks ==4789== indirectly lost: 0 bytes in 0 blocks ==4789== possibly lost: 0 bytes in 0 blocks ==4789== still reachable: 5,230 bytes in 10 blocks ==4789== suppressed: 0 bytes in 0 blocks ==4789== Reachable blocks (those to which a pointer was found) are not shown. ==4789== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4789== ==4789== For counts of detected and suppressed errors, rerun with: -v ==4789== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Testing sslh-fork spawned 4806 ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==4806== Memcheck, a memory error detector ==4806== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==4806== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==4806== Command: ./sslh-fork -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==4806== 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:39122 to localhost:dynamid forwarded from localhost:40762 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 ==4809== ==4809== HEAP SUMMARY: ==4809== in use at exit: 1,188 bytes in 10 blocks ==4809== total heap usage: 162 allocs, 152 frees, 130,956 bytes allocated ==4809== ==4809== LEAK SUMMARY: ==4809== definitely lost: 0 bytes in 0 blocks ==4809== indirectly lost: 0 bytes in 0 blocks ==4809== possibly lost: 0 bytes in 0 blocks ==4809== still reachable: 1,188 bytes in 10 blocks ==4809== suppressed: 0 bytes in 0 blocks ==4809== Reachable blocks (those to which a pointer was found) are not shown. ==4809== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4809== ==4809== For counts of detected and suppressed errors, rerun with: -v ==4809== 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:39126 to localhost:dynamid forwarded from localhost:55212 to localhost:cslistener flushing deferred data to fd 3 ok 10 - Shy SSH connection ***Test: Bold SSH connection accepted fd 5 server socket closed 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 ==4811== ==4811== HEAP SUMMARY: ==4811== in use at exit: 1,188 bytes in 10 blocks ==4811== total heap usage: 168 allocs, 158 frees, 144,924 bytes allocated ==4811== ==4811== LEAK SUMMARY: ==4811== definitely lost: 0 bytes in 0 blocks ==4811== indirectly lost: 0 bytes in 0 blocks ==4811== possibly lost: 0 bytes in 0 blocks ==4811== still reachable: 1,188 bytes in 10 blocks ==4811== suppressed: 0 bytes in 0 blocks ==4811== Reachable blocks (those to which a pointer was found) are not shown. ==4811== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4811== ==4811== For counts of detected and suppressed errors, rerun with: -v ==4811== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:cslistener family 10 len 28 ssh:connection from localhost:39130 to localhost:dynamid forwarded from localhost:55216 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 ==4813== ==4813== HEAP SUMMARY: ==4813== in use at exit: 1,188 bytes in 10 blocks ==4813== total heap usage: 169 allocs, 159 frees, 144,954 bytes allocated ==4813== ==4813== LEAK SUMMARY: ==4813== definitely lost: 0 bytes in 0 blocks ==4813== indirectly lost: 0 bytes in 0 blocks ==4813== possibly lost: 0 bytes in 0 blocks ==4813== still reachable: 1,188 bytes in 10 blocks ==4813== suppressed: 0 bytes in 0 blocks ==4813== Reachable blocks (those to which a pointer was found) are not shown. ==4813== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4813== ==4813== For counts of detected and suppressed errors, rerun with: -v ==4813== 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:39134 to localhost:dynamid forwarded from localhost:55220 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 ==4815== ==4815== HEAP SUMMARY: ==4815== in use at exit: 1,188 bytes in 10 blocks ==4815== total heap usage: 170 allocs, 160 frees, 144,956 bytes allocated ==4815== ==4815== LEAK SUMMARY: ==4815== definitely lost: 0 bytes in 0 blocks ==4815== indirectly lost: 0 bytes in 0 blocks ==4815== possibly lost: 0 bytes in 0 blocks ==4815== still reachable: 1,188 bytes in 10 blocks ==4815== suppressed: 0 bytes in 0 blocks ==4815== Reachable blocks (those to which a pointer was found) are not shown. ==4815== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4815== ==4815== For counts of detected and suppressed errors, rerun with: -v ==4815== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) connecting to localhost:etlservicemgr family 10 len 28 ssl:connection from localhost:39140 to localhost:dynamid forwarded from localhost:40782 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:39142 to localhost:dynamid forwarded from localhost:55230 to localhost:cslistener flushing deferred data to fd 3 ok 13 - SSH during SSL being established ok 14 - SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL server socket closed accepted fd 5 connection closed down server socket closed connection closed down ==4818== ==4818== HEAP SUMMARY: ==4818== in use at exit: 1,188 bytes in 10 blocks ==4818== total heap usage: 168 allocs, 158 frees, 144,924 bytes allocated ==4818== ==4818== LEAK SUMMARY: ==4818== definitely lost: 0 bytes in 0 blocks ==4818== indirectly lost: 0 bytes in 0 blocks ==4818== possibly lost: 0 bytes in 0 blocks ==4818== still reachable: 1,188 bytes in 10 blocks ==4818== suppressed: 0 bytes in 0 blocks ==4818== Reachable blocks (those to which a pointer was found) are not shown. ==4818== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4818== ==4818== For counts of detected and suppressed errors, rerun with: -v ==4818== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==4817== ==4817== HEAP SUMMARY: ==4817== in use at exit: 1,188 bytes in 10 blocks ==4817== total heap usage: 162 allocs, 152 frees, 130,956 bytes allocated ==4817== ==4817== LEAK SUMMARY: ==4817== definitely lost: 0 bytes in 0 blocks ==4817== indirectly lost: 0 bytes in 0 blocks ==4817== possibly lost: 0 bytes in 0 blocks ==4817== still reachable: 1,188 bytes in 10 blocks ==4817== suppressed: 0 bytes in 0 blocks ==4817== Reachable blocks (those to which a pointer was found) are not shown. ==4817== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4817== ==4817== For counts of detected and suppressed errors, rerun with: -v ==4817== 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:39148 to localhost:dynamid forwarded from localhost:55234 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:39152 to localhost:dynamid forwarded from localhost:40792 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 4806 ==4823== ==4823== HEAP SUMMARY: ==4823== in use at exit: 1,188 bytes in 10 blocks ==4823== total heap usage: 162 allocs, 152 frees, 130,956 bytes allocated ==4823== ==4807== ==4808== ==4808== HEAP SUMMARY: ==4808== in use at exit: 1,188 bytes in 10 blocks ==4808== total heap usage: 134 allocs, 124 frees, 84,220 bytes allocated ==4808== ==4823== LEAK SUMMARY: ==4823== definitely lost: 0 bytes in 0 blocks ==4823== indirectly lost: 0 bytes in 0 blocks ==4823== possibly lost: 0 bytes in 0 blocks ==4823== still reachable: 1,188 bytes in 10 blocks ==4823== suppressed: 0 bytes in 0 blocks ==4823== Reachable blocks (those to which a pointer was found) are not shown. ==4823== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4823== ==4823== For counts of detected and suppressed errors, rerun with: -v ==4823== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==4808== LEAK SUMMARY: ==4808== definitely lost: 0 bytes in 0 blocks ==4808== indirectly lost: 0 bytes in 0 blocks ==4808== possibly lost: 0 bytes in 0 blocks ==4808== still reachable: 1,188 bytes in 10 blocks ==4808== suppressed: 0 bytes in 0 blocks ==4808== Reachable blocks (those to which a pointer was found) are not shown. ==4808== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4808== ==4808== For counts of detected and suppressed errors, rerun with: -v ==4808== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==4807== HEAP SUMMARY: ==4807== in use at exit: 1,188 bytes in 10 blocks ==4807== total heap usage: 134 allocs, 124 frees, 84,220 bytes allocated ==4807== ==4807== LEAK SUMMARY: ==4807== definitely lost: 0 bytes in 0 blocks ==4807== indirectly lost: 0 bytes in 0 blocks ==4807== possibly lost: 0 bytes in 0 blocks ==4807== still reachable: 1,188 bytes in 10 blocks ==4807== suppressed: 0 bytes in 0 blocks ==4807== Reachable blocks (those to which a pointer was found) are not shown. ==4807== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4807== ==4807== For counts of detected and suppressed errors, rerun with: -v ==4807== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==4806== ==4806== HEAP SUMMARY: ==4806== in use at exit: 1,188 bytes in 10 blocks ==4806== total heap usage: 134 allocs, 124 frees, 84,220 bytes allocated ==4806== ==4806== 8 bytes in 1 blocks are definitely lost in loss record 2 of 8 ==4806== at 0x4856D10: malloc (vg_replace_malloc.c:299) ==4806== by 0x402E3B: start_listen_sockets (common.c:122) ==4806== by 0x40666B: main (sslh-main.c:630) ==4806== ==4806== LEAK SUMMARY: ==4806== definitely lost: 8 bytes in 1 blocks ==4806== indirectly lost: 0 bytes in 0 blocks ==4806== possibly lost: 0 bytes in 0 blocks ==4806== still reachable: 1,180 bytes in 9 blocks ==4806== suppressed: 0 bytes in 0 blocks ==4806== Reachable blocks (those to which a pointer was found) are not shown. ==4806== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4806== ==4806== For counts of detected and suppressed errors, rerun with: -v ==4806== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==4821== ==4821== HEAP SUMMARY: ==4821== in use at exit: 1,188 bytes in 10 blocks ==4821== total heap usage: 168 allocs, 158 frees, 144,924 bytes allocated ==4821== ==4821== LEAK SUMMARY: ==4821== definitely lost: 0 bytes in 0 blocks ==4821== indirectly lost: 0 bytes in 0 blocks ==4821== possibly lost: 0 bytes in 0 blocks ==4821== still reachable: 1,188 bytes in 10 blocks ==4821== suppressed: 0 bytes in 0 blocks ==4821== Reachable blocks (those to which a pointer was found) are not shown. ==4821== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==4821== ==4821== For counts of detected and suppressed errors, rerun with: -v ==4821== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ***Test: Connecting to non-existant server spawned 4826 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 4828 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 4829 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 4830 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 4831 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.fc27.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WgcP7V + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + DOCDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc27.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.fc27.aarch64/usr/share/doc/sslh + cp -pr README.md /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/share/doc/sslh + cp -pr ChangeLog /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/share/doc/sslh + cp -pr example.cfg /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/share/doc/sslh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dD6h0l + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + LICENSEDIR=/builddir/build/BUILDROOT/sslh-1.19c-1.fc27.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.fc27.aarch64/usr/share/licenses/sslh + cp -pr COPYING /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64/usr/share/licenses/sslh + exit 0 Provides: config(sslh) = 1.19c-1.fc27 sslh = 1.19c-1.fc27 sslh(aarch-64) = 1.19c-1.fc27 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) libwrap.so.0()(64bit) rtld(GNU_HASH) Processing files: sslh-debugsource-1.19c-1.fc27.aarch64 Provides: sslh-debugsource = 1.19c-1.fc27 sslh-debugsource(aarch-64) = 1.19c-1.fc27 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.fc27.aarch64 Provides: debuginfo(build-id) = 4744fc27f1ad0ca9e78ee55ddffa6aa1a1d42ca5 debuginfo(build-id) = 9a0ef90d538151a629b639bdee6c5eef104e54c0 sslh-debuginfo = 1.19c-1.fc27 sslh-debuginfo(aarch-64) = 1.19c-1.fc27 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.fc27 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64 Wrote: /builddir/build/RPMS/sslh-1.19c-1.fc27.aarch64.rpm Wrote: /builddir/build/RPMS/sslh-debugsource-1.19c-1.fc27.aarch64.rpm Wrote: /builddir/build/RPMS/sslh-debuginfo-1.19c-1.fc27.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kaRl49 + umask 022 + cd /builddir/build/BUILD + cd sslh-3a61c8b0b1cd846d0cd3a2c590a52fe9bc5974f7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslh-1.19c-1.fc27.aarch64 + exit 0 Child return code was: 0