Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/hiredis.spec'], chrootPath='/var/lib/mock/1324909-epel-6-i386-1585723179.465910/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/hiredis.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 warning: Could not canonicalize hostname: ip-172-30-2-192.ec2.internal Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/hiredis-0.12.1-1.el6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/hiredis.spec'], chrootPath='/var/lib/mock/1324909-epel-6-i386-1585723179.465910/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/hiredis.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OLzN14 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf hiredis-0.12.1 + /bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/hiredis-0.12.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hiredis-0.12.1 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (302.patch):' Patch #0 (302.patch): + /bin/cat /builddir/build/SOURCES/302.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AjlvQ4 + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + LANG=C + export LANG + unset DISPLAY + make -j2 PREFIX=/usr INSTALL_LIBRARY_PATH=/usr/lib 'OPTIMIZATION=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' LDFLAGS= cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb read.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb test.c Generating hiredis.pc for pkgconfig... cc -shared -Wl,-soname,libhiredis.so.0.12 -o libhiredis.so net.o hiredis.o sds.o async.o read.o ar rcs libhiredis.a net.o hiredis.o sds.o async.o read.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb -o hiredis-test test.o libhiredis.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.whH4B7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 ++ dirname /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 + cd hiredis-0.12.1 + LANG=C + export LANG + unset DISPLAY + make install DESTDIR=/builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 PREFIX=/usr INSTALL_LIBRARY_PATH=/usr/lib mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/include/hiredis /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib cp -a hiredis.h async.h read.h sds.h adapters /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/include/hiredis cp -a libhiredis.so /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib/libhiredis.so.0.12 cd /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib && ln -sf libhiredis.so.0.12 libhiredis.so.0 cd /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib && ln -sf libhiredis.so.0 libhiredis.so cp -a libhiredis.a /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib/pkgconfig cp -a hiredis.pc /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib/pkgconfig + find /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 -name '*.a' -delete -print /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib/libhiredis.a + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/hiredis-0.12.1 extracting debug info from /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/lib/libhiredis.so.0.12 symlinked /usr/lib/debug/usr/lib/libhiredis.so.0.12.debug to /usr/lib/debug/usr/lib/libhiredis.so.debug symlinked /usr/lib/debug/usr/lib/libhiredis.so.0.12.debug to /usr/lib/debug/usr/lib/libhiredis.so.0.debug 294 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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.45DAVa + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + unset DISPLAY + make test ./hiredis-test #01 Format command without interpolation: PASSED #02 Format command with %s string interpolation: PASSED #03 Format command with %s and an empty string: PASSED #04 Format command with an empty string in between proper interpolations: PASSED #05 Format command with %b string interpolation: PASSED #06 Format command with %b and an empty string: PASSED #07 Format command with literal %: PASSED #08 Format command with printf-delegation (int): PASSED #09 Format command with printf-delegation (char): PASSED #10 Format command with printf-delegation (short): PASSED #11 Format command with printf-delegation (long): PASSED #12 Format command with printf-delegation (long long): PASSED #13 Format command with printf-delegation (unsigned int): PASSED #14 Format command with printf-delegation (unsigned char): PASSED #15 Format command with printf-delegation (unsigned short): PASSED #16 Format command with printf-delegation (unsigned long): PASSED #17 Format command with printf-delegation (unsigned long long): PASSED #18 Format command with printf-delegation (float): PASSED #19 Format command with printf-delegation (double): PASSED #20 Format command with invalid printf format: PASSED #21 Format command by passing argc/argv without lengths: PASSED #22 Format command by passing argc/argv with lengths: PASSED #23 Error handling in reply parser: PASSED #24 Memory cleanup in reply parser: PASSED #25 Set error on nested multi bulks with depth > 7: PASSED #26 Works with NULL functions for reply: PASSED #27 Works when a single newline (\r\n) covers two calls to feed: PASSED #28 Don't reset state after protocol error: PASSED #29 Don't do empty allocation for empty multi bulk: PASSED #30 Returns error when host cannot be resolved: PASSED #31 Returns error when the port is not open: PASSED #32 Returns error when the unix socket path doesn't accept connections: PASSED #33 Don't fail when redisFree is passed a NULL value: PASSED #34 Don't fail when freeReplyObject is passed a NULL value: PASSED Testing against TCP connection (127.0.0.1:6379): Connection error: Connection refused make: *** [test] Error 1 + true + exit 0 Processing files: hiredis-0.12.1-1.el6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jkcwhe + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + DOCDIR=/builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-0.12.1 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-0.12.1 + /bin/mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-0.12.1 + cp -pr COPYING /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-0.12.1 + exit 0 Provides: libhiredis.so.0.12 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libhiredis.so.0.12 rtld(GNU_HASH) Processing files: hiredis-devel-0.12.1-1.el6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y3e1Eh + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + DOCDIR=/builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-devel-0.12.1 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-devel-0.12.1 + /bin/mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-devel-0.12.1 + cp -pr CHANGELOG.md README.md /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386/usr/share/doc/hiredis-devel-0.12.1 + exit 0 Provides: pkgconfig(hiredis) = 0.12.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: /usr/bin/pkg-config libhiredis.so.0.12 Processing files: hiredis-debuginfo-0.12.1-1.el6.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 warning: Could not canonicalize hostname: ip-172-30-2-192.ec2.internal Wrote: /builddir/build/RPMS/hiredis-0.12.1-1.el6.i686.rpm Wrote: /builddir/build/RPMS/hiredis-devel-0.12.1-1.el6.i686.rpm Wrote: /builddir/build/RPMS/hiredis-debuginfo-0.12.1-1.el6.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QP0J6v + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + /bin/rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.i386 + exit 0 Child return code was: 0