Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-937ca8611a38e14b606fea1fd7ace0a53f59afef/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/sslh.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/sslh-1.18-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/sslh.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-937ca8611a38e14b606fea1fd7ace0a53f59afef/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/sslh.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.znfihG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sslh-38447c815821ae8b6379d8005628ea3c9f94f1ee + /usr/bin/gzip -dc /builddir/build/SOURCES/sslh-1.18-38447c8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sslh-38447c815821ae8b6379d8005628ea3c9f94f1ee + /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 + /usr/bin/cat /builddir/build/SOURCES/01-remove-lcov-testing.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/02-need-gnu99-on-el7.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0P3z3h + umask 022 + cd /builddir/build/BUILD + cd sslh-38447c815821ae8b6379d8005628ea3c9f94f1ee + ./genver.sh + make -j4 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 sslh echosrv cc -Wall -g -std=gnu99 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c cc -Wall -g -std=gnu99 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-main.c cc -Wall -g -std=gnu99 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c probe.c cc -Wall -g -std=gnu99 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tls.c common.c: In function 'check_access_rights': common.c:552:5: warning: passing argument 1 of 'hosts_ctl' discards 'const' qualifier from pointer target type [enabled by default] if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) { ^ In file included from common.c:43: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 -std=gnu99 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-fork.c cc -Wall -g -std=gnu99 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-select.c cc -Wall -g -std=gnu99 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c echosrv.c cc -Wall -g -std=gnu99 -o sslh-fork sslh-fork.o common.o sslh-main.o probe.o tls.o -lwrap -lconfig -lcap -lsystemd cc -Wall -g -std=gnu99 -o echosrv echosrv.o probe.o common.o tls.o -lwrap -lconfig -lcap -lsystemd #strip sslh-fork cc -Wall -g -std=gnu99 -o sslh-select sslh-select.o common.o sslh-main.o probe.o tls.o -lwrap -lconfig -lcap -lsystemd #strip sslh-select + pod2man --section=8 --release=1.18 '--center= ' sslh.pod + iconv --from=ISO-8859-1 --to=UTF-8 ChangeLog + touch -r ChangeLog ChangeLog.conv + mv ChangeLog.conv ChangeLog Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WfF8w4 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm ++ dirname /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm + cd sslh-38447c815821ae8b6379d8005628ea3c9f94f1ee + mkdir -p /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/sbin + mkdir -p /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/share/doc/sslh-1.18 + mkdir -p /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/lib/systemd/system + cp -p sslh-fork /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/sbin/sslh + cp -p sslh-select /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/sbin/sslh-select + cp -p basic.cfg /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/etc/sslh.cfg + cp -p sslh.8 /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/share/man/man8/ + cp -p scripts/systemd.sslh.service /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/lib/systemd/system/sslh.service + cat + cat + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/sslh-38447c815821ae8b6379d8005628ea3c9f94f1ee extracting debug info from /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/sbin/sslh extracting debug info from /builddir/build/BUILDROOT/sslh-1.18-1.el7.arm/usr/sbin/sslh-select /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 165 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dCQ5xt + umask 022 + cd /builddir/build/BUILD + cd sslh-38447c815821ae8b6379d8005628ea3c9f94f1ee + sed -i s/ip6-localhost/localhost6/g t + make test ./t Testing sslh-select spawned 29233 ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 --ssl localhost6:9001 -P /tmp/sslh_test.pid ==29233== Memcheck, a memory error detector ==29233== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==29233== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==29233== Command: ./sslh-select -v -f -u mockbuild --listen localhost:9002 --ssh localhost6:9000 -ssl localhost6:9001 -P /tmp/sslh_test.pid ==29233== Name or service not known `localhost6' Name or service not known `localhost6' Name or service not known `localhost6:9000' Name or service not known `localhost6' ==29233== ==29233== HEAP SUMMARY: ==29233== in use at exit: 492 bytes in 4 blocks ==29233== total heap usage: 86 allocs, 82 frees, 138,477 bytes allocated ==29233== ==29233== LEAK SUMMARY: ==29233== definitely lost: 0 bytes in 0 blocks ==29233== indirectly lost: 0 bytes in 0 blocks ==29233== possibly lost: 0 bytes in 0 blocks ==29233== still reachable: 492 bytes in 4 blocks ==29233== suppressed: 0 bytes in 0 blocks ==29233== Reachable blocks (those to which a pointer was found) are not shown. ==29233== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==29233== ==29233== For counts of detected and suppressed errors, rerun with: -v ==29233== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 3) ***Test: SSL connection ***Test: Shy SSH connection Connection refused Connection refused ***Test: Bold SSH connection ***Test: incomplete SSH first frame Connection refused Connection refused ***Test: One SSL half-started then one SSH ***Test: One SSH half-started then one SSL Connection refused Connection refused cat: /tmp/sslh_test.pid: No such file or directory killing Can't kill a non-numeric process ID at ./t line 219. # Looks like your test exited with 1 before it could output anything. make: *** [test] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.dCQ5xt (%check) Bad exit status from /var/tmp/rpm-tmp.dCQ5xt (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/sslh.spec